kube-state-metrics/docs/metrics/workload/deployment-metrics.md

7.2 KiB

Deployment Metrics

Metric name Metric type Description Labels/tags Status
kube_deployment_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist deployment=<deployment-name>
namespace=<deployment-namespace>
annotation_DEPLOYMENT_ANNOTATION=<DEPLOYMENT_ANNOTATION>
EXPERIMENTAL
kube_deployment_status_replicas Gauge The number of replicas per deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_replicas_ready Gauge The number of ready replicas per deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_replicas_available Gauge The number of available replicas per deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_replicas_unavailable Gauge The number of unavailable replicas per deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_replicas_updated Gauge The number of updated replicas per deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_observed_generation Gauge The generation observed by the deployment controller. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_status_condition Gauge The current status conditions of a deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
reason=<deployment-transition-reason>
condition=<deployment-condition>
status=<true|false|unknown>
STABLE
kube_deployment_spec_replicas Gauge Number of desired pods for a deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_spec_paused Gauge Whether the deployment is paused and will not be processed by the deployment controller. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_spec_strategy_rollingupdate_max_unavailable Gauge Maximum number of unavailable replicas during a rolling update of a deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_spec_strategy_rollingupdate_max_surge Gauge Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a deployment. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_metadata_generation Gauge Sequence number representing a specific generation of the desired state. deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist deployment=<deployment-name>
namespace=<deployment-namespace>
label_DEPLOYMENT_LABEL=<DEPLOYMENT_LABEL>
STABLE
kube_deployment_created Gauge Unix creation timestamp deployment=<deployment-name>
namespace=<deployment-namespace>
STABLE
kube_deployment_deletion_timestamp Gauge Unix deletion timestamp deployment=<deployment-name>
namespace=<deployment-namespace>
EXPIREMENTAL