This page outlines the prerequisites and necessary permissions for installing the Kubernetes 2.0 Agent.

Prerequisites

  • Helm command to be installed on the server through which your Kubernetes cluster is being managed using kubectl/oc commands.
  • OpsRamp supports Helm version 3.2.0 and later.
  • Ensure that the Helm repository is accessible from the user cluster.
  • The Agent repository must also be reachable from the user cluster.

Permissions

Following permissions required to install the Kubernetes 2.0 Integration:

CategoryPermission TypePermission Value
Account AdministrationDevicesManage
Integrations and appsIntegrationManage

Refer to the Permission Sets document for more details.

Resource Requirements

When deploying the OpsRamp Kubernetes 2.0 integration, it is important to allocate appropriate resources to ensure the monitoring components operate efficiently.

Default Resource Limits

When you install the Kubernetes 2.0 integration, the standard resource limits applied to each Pod fall under the Small cluster category, as shown in the table below.

Cluster-Based Resource Limits (v20.0.0 and later)

You can adjust the default resource limits in the values.yaml file based on your cluster size. Refer to the table below for the recommended values.

Cluster CategoryNumber of NodesNumber of PodsMASTER (POD)MASTER-DELEGATE (POD)WORKER (POD)REDIS-Node (POD)
opsramp-agent (Container)master-delegate (Container)prometheus (Container)opsramp-agent (Container)redis (Container)sentinal (Container)
CPUMemoryCPUMemoryCPUMemoryCPUMemoryCPUMemoryCPUMemory
Small
(Default)
<10300–800400m512MB400m512MB200m512MB500m512MB150m192MB150m192MB
Medium10–30800–3000600m768MB400m512MB200m512MB700m512MB150m192MB150m192MB
Large30–603000–6000700m768MB500m600MB200m768MB1000m768MB150m192MB150m192MB
X-Large60–1006000–10K1000m1024MB600m768MB300m1280MB1000m1280MB150m192MB150m192MB

Cluster-Based Resource Limits (Below v20.0.0)

Supports for up to 500 Pods

In the 19.2.1 release, the Agent supports up to 500 Pods with the following default resource limits:

No. of PodsMaster AgentWorker AgentPrometheusRedis
CPUMemoryCPUMemoryCPUMemoryCPUMemory
500750m1.5Gi400m512Mi300m1Gi150m192Mi

Support for up to 1000 Pods

To increase the capacity to 1000 Pods, update the following resource configuration:

  • Prometheus Memory Limits: Increase from 1 GiB (default) to 1.5 GiB.

Supported Distributions and their Components

The table below outlines the supported distributions and their components.

  • Yes, indicates that the component supports metrics and the OpsRamp agent collects them.
  • No, means the distribution does not expose metrics for that specific component.

Control Plane Components

Kubernetes Distributionkube-api serveretcdCoreDNSkube-schedulerkube-control manager
k3sYesYes
(only if it runs with HA)
YesYes
Microk8sYesYes
(only if enabled by the administrator)
YesNo
(only if enabled by the administrator)
No
(only if enabled by the administrator)
GKE (GCP)YesNo
(Provider does not expose)
YesYesYes
AKS(Azure)YesNo
(Provider does not expose)
YesYesYes
EKS(AWS)YesNo
(Provider does not expose)
YesYesYes
Vanilla K8sYesYesYesYesYes
Rancher (RKE2)YesYesYesYesYes
OKD (OpenShift)YesYesYesYesYes

Worker Node Components

Kubernetes Distributionkube proxyKubelet componentKubeletstatscAdvisor
k3sYesYesYesYes
Microk8sYesYesYesYes
GKEYesYesYesYes
AKSYesYesYesYes
EKSYesYesYesYes
Vanilla K8sYesYesYesYes
Rancher (RKE2)YesYesYesYes
OKD (OpenShift)No
(OpenShift does not use kube-proxy)
YesYesYes