Collector Type : Agent

Category : Application Monitors

Application Name : k8spodsmonitor

Global Template Name : Agent G2 - Kubernetes Pods Monitor

Pre-requisites

kube-state-metrics service should be running in the kubernetes cluster where K8sPodsMonitor needs to be monitored. Follow the below link to deploy kube-state-metrics into desired cluster

kube-state-metrics deployment yamls

Collected Metrics

Metric NameDisplay NameDescription
kubernetes.deployment.pods.desiredDeployment Pods DesiredNumber of desired pods for a deployment.
kubernetes.deployment.pods.runningDeployment Pods RunningThe number of ready replicas per deployment.
kubernetes.daemonset.pods.desiredDaemonset Pods DesiredThe number of nodes that should be running the daemon pod.
kubernetes.daemonset.pods.runningDaemonset Pods RunningThe number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
kubernetes.replicaset.pods.desiredReplicaset Pods DesiredNumber of desired pods for a ReplicaSet.
kubernetes.replicaset.pods.runningReplicaset Pods RunningThe number of ready replicas per ReplicaSet.
kubernetes.statefulset.pods.desiredStatefulSet Pods DesiredNumber of desired pods for a StatefulSet.
kubernetes.statefulset.pods.runningStatefulSet Pods RunningThe number of ready replicas per StatefulSet.
kubernetes.deployment.pods.running.percentageDeployment Pods Running PercentagePercentage of pods running by desired pods of Deployment.
kubernetes.daemonset.pods.running.percentageDaemonset Pods Running PercentagePercentage of pods running by desired pods of Daemonset.
kubernetes.replicaset.pods.running.percentageReplicaset Pods Running PercentagePercentage of pods running by desired pods of Replicaset.
kubernetes.statefulset.pods.running.percentageStatefulSet Pods Running PercentagePercentage of pods running by desired pods of Statefulset.