Kubernetes (or k8s) is an open-source container orchestration system for automating deployment, scaling and management of application containers across clusters of hosts. Kubernetes clusters can span hosts across public, private, or hybrid clouds. K8s orchestration allows users to build application services across multiple containers, schedule those containers across a cluster, scale those containers, and manage the health of those containers over time.
Applications Manager's Kubernetes monitoring lets administrators adapt monitoring strategies to account for the new infrastructure layers introduced (when adopting containers and the container orchestration) with a distributed Kubernetes environment.
Note: In the Kubernetes cluster architecture, it is sufficient to add the primary master node alone to the Applications Manager. Applications Manager will automatically discover all the other master and worker nodes within the cluster and monitor them closely. There is no need to individually add each node as a Kubernetes monitor as this will lead to a performance issue.
Prerequisites for setting up Kubernetes monitor: kubectl should be installed on the machine where Kubernetes is installed.
Using the REST API to add a new Kubernetes monitor: Click here
Follow the steps given below to create a new Kubernetes monitor:
Go to the Monitors Category View by clicking the Monitors tab. Click on Kubernetes under the Virtualization table. Displayed is the Kubernetes bulk configuration view distributed into three tabs:
On clicking a monitor from the list, you'll be taken to the Kubernetes monitor dashboard. It has five tabs -
Parameter | Description |
---|---|
NAMESPACE DETAILS | |
Namespace Name | Name of Namespace |
Resource Version | The version number of Namespace |
Namespace Availability | Availability of Namespace |
Namespace CreatedTime | Time at which the Namespace was created |
PODS | |
Used Pods Count | Number of pods used |
Maximum Pods Count | Maximum number of pods |
Used Pods Count per Node | Number of pods in a single node |
CLUSTER USAGE DETAILS | |
Average Cluster CPU Usage | Average CPU used by the cluster |
Average Cluster Memory Usage | Average memory used by the cluster |
NODE | |
Master Node Count | Number of master nodes |
Worker Node Count | Number of worker nodes |
CLUSTER DETAILS | Contains detailed information about the cluster |
COMPONENT DETAILS | Contains detailed information about the component |
Parameter | Description |
---|---|
NODE MEMORY DETAILS | |
Node Memory Limit | Maximum limit of Node memory in GiB |
Node Memory Requests | Number of memory requests |
NODE CPU DETAILS | |
Node CPU Limit | Maximum limit of CPU |
Node CPU Request | Number of CPU requests |
NODE MEMORY AND CPU DETAILS | |
Name | Name of the node |
Allocatable Memory(GiB) | The CPU resources of a node that are available for scheduling in GiB |
Memory Limit(%) | The maximum limit of memory resource which can be used |
Memory Request(%) | Number of memory requests in % |
Allocatable CPU Processor Count | The number of CPU processes that are available |
CPU Limit(%) | The maximum limit of CPU resource which can be used |
CPU Request(%) | Number of CPU requests in % |
NODE POD DETAILS | |
Name | Name of the pod |
Pod Usage Details | Total number of pods available with used and free pods split-up. |
Kube-system Pod Count | Number of Kube state pods |
Non-Kube-system Pod Count | Number of non-Kube state pods |
Image Count | Number of images in the node |
Used Pod Count | Total num of pods present in Kubernetes |
Allocatable Pod Count | Number of pods that are available |
NODE DETAILS | |
Name | Name of the node |
OSImage | OSImage name |
OS | Name of the OS in which the container is deployed |
Architecture | Architecture details |
Type | Type of node |
Kubelet Version | The version of Kubelet used |
Allocatable Ephemeral Storage(GiB) | Size of temporary memory available in GiB |
Created Time | Time at which the node was created |
Parameter | Description |
---|---|
POD DETAILS | |
Pod Name | Name of the pod |
Pod Namespace | Namespace in which the pod resides |
Pod Node Name | Name of the pod-node |
Pod Application | Name of the pod application. |
Pod Type | Type of pod. |
Pod created | The means by which the pod was created. |
Pod Running Status | Status of the pod. |
Pod Start Time | The start time of the pod. |
Pod Created Time | Time at which the pod was created. |
POD MEMORY DETAILS | |
Pods Memory Limit | Maximum limit of memory. |
Pods Memory Request | The number of memory requests. |
POD MEMORY AND CPU DETAILS | |
Pod Name | Name of the pod. |
Number of Containers | The number of containers run by the pod. |
Pod CPU Limit(%) | The maximum limit of CPU resource which can be used. |
Pod CPU Request (%) | The number of CPU requests by pod in %. |
Pod Memory Limit(%) | The maximum limit of memory resource that can be used. |
Pod Memory Request(%) | The number of memory requested in %. |
Pod created | The means by which the pod was created. |
Pod Persistent Volumes Claim | Name of the Claim through which a pod can access the persistent volume. |
CONTAINER DETAILS | |
Container Name | Name of the container. |
Container Image | Name of the container image. |
Container Pod Name | Name of the container pod. |
Container Restart Count | The number of times the container has restarted. |
Container Running Status | Status of the container. |
Container Start Time | Start time of the container. |
Parameter | Description |
---|---|
SERVICE DETAILS | |
Services Name | Name of the service. |
Services Namespace | Name of the Namespace in which the service resides. |
Services Application | Name of the Service application. |
Service Type | Type of the service. |
Service Protocol | Name of the service protocol. |
Service Target Port | Name of the port that connects with the service. |
Service Created Time | Creation time of the service. |
DEPLOYMENT DETAILS | |
Deployment Name | Name of the deployment. |
Deployment Namespace | Namespace where the deployment exists. |
Deployment Replica Count | The number of replicas in a deployment. |
Deployment Available Replica Count | Number of available replicas in a deployment. |
Deployment Availability | Availability of the deployment. |
Parameter | Description |
---|---|
PERSISTENT VOLUMES DETAILS | |
PV Name | Name of the Persistent Volume. |
PV Status | Status of the Persistent Volume. |
PV Claim | Name of the Persistent Volume Claim. |
PV Access Mode | The mode through which you can access the Persistent Volume. |
PV Storage Class | Name of the Persistent Volume storage class. |
PV Capacity(GiB) | The capacity of the Persistent Volume in GiB. |
PV Created Time | Creation time of the Persistent Volume. |
PERSISTENT VOLUMES CLAIM DETAILS | |
PVC Name | Name of the Persistent Volume Claim. |
PVC Namespace | Name of the Namespace in which the Claim exists. |
PVC Status | Status of the Persistent Volume Claim. |
PVC Volume | Volume of the Persistent Volume Claim. |
PV Access Mode | The mode through which you can access the Persistent Volume. |
PV Storage Class | Name of the Persistent Volume storage class. |
PVC Requests(GiB) | Number of Persistent Volume Claim requests in GiB. |
PVC Created Time | Creation time of Persistent Volume Claim. |