Kubernetes kube-state-metrics (KSM) Complete Architecture Guide & Metric Reference

๐Ÿ’ก kube-state-metrics (KSM) Architectural Overview (Executive Summary)

kube-state-metrics (KSM) is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects (Deployments, Nodes, Pods, PVs, etc.) in Prometheus exposition format. Unlike node-exporter (host CPU/memory metrics) or cAdvisor (container runtime resource usage), KSM focuses on orchestration object health, desired spec vs current status, condition flags, and replica counts.

๐Ÿ—๏ธ kube-state-metrics Data Flow & Scraping Architecture

KSM runs as a single cluster-wide Deployment (or with an HA replica) utilizing the official client-go Reflector/Informer caches to stream state metrics with zero API server load overhead.

yaml
# Prometheus Operator ServiceMonitor Configuration Example
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: kube-state-metrics
  namespace: monitoring
  labels:
    app.kubernetes.io/name: kube-state-metrics
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: kube-state-metrics
  endpoints:
    - port: http-metrics
      interval: 30s
      scrapeTimeout: 10s
      honorLabels: true
    - port: telemetry
      interval: 30s
      scrapeTimeout: 10s
๐Ÿ“‘ Kubernetes Resource Metrics Table of Contents (Total 23 Resources)

๐Ÿ“ฆ configmap Metrics Specification (5 items)

Metric Name Type Description & Help
kube_configmap_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_configmap_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_configmap_info GAUGE STABLE Information about configmap.
kube_configmap_created GAUGE STABLE Unix creation timestamp
kube_configmap_metadata_resource_version GAUGE Resource version representing a specific version of the configmap.

๐Ÿ“ฆ cronjob Metrics Specification (13 items)

Metric Name Type Description & Help
kube_cronjob_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_cronjob_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_cronjob_info GAUGE STABLE Info about cronjob.
kube_cronjob_created GAUGE STABLE Unix creation timestamp
kube_cronjob_status_active GAUGE STABLE Active holds pointers to currently running jobs.
kube_cronjob_status_last_schedule_time GAUGE STABLE LastScheduleTime keeps information of when was the last time the job was successfully scheduled.
kube_cronjob_status_last_successful_time GAUGE LastSuccessfulTime keeps information of when was the last time the job was completed successfully.
kube_cronjob_spec_suspend GAUGE STABLE Suspend flag tells the controller to suspend subsequent executions.
kube_cronjob_spec_starting_deadline_seconds GAUGE STABLE Deadline in seconds for starting the job if it misses scheduled time for any reason.
kube_cronjob_next_schedule_time GAUGE STABLE Next time the cronjob should be scheduled. The time after lastScheduleTime, or after the cron job’s creation time if it’s never been scheduled. Use this to determine if the job is delayed.
kube_cronjob_metadata_resource_version GAUGE STABLE Resource version representing a specific version of the cronjob.
kube_cronjob_spec_successful_job_history_limit GAUGE Successful job history limit tells the controller how many completed jobs should be preserved.
kube_cronjob_spec_failed_job_history_limit GAUGE Failed job history limit tells the controller how many failed jobs should be preserved.

๐Ÿ“ฆ daemonset Metrics Specification (12 items)

Metric Name Type Description & Help
kube_daemonset_created GAUGE STABLE Unix creation timestamp
kube_daemonset_status_current_number_scheduled GAUGE STABLE The number of nodes running at least one daemon pod and are supposed to.
kube_daemonset_status_desired_number_scheduled GAUGE STABLE The number of nodes that should be running the daemon pod.
kube_daemonset_status_number_available GAUGE STABLE The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available
kube_daemonset_status_number_misscheduled GAUGE STABLE The number of nodes running a daemon pod but are not supposed to.
kube_daemonset_status_number_ready GAUGE STABLE The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
kube_daemonset_status_number_unavailable GAUGE STABLE The number of nodes that should be running the daemon pod and have none of the daemon pod running and available
kube_daemonset_status_observed_generation GAUGE STABLE The most recent generation observed by the daemon set controller.
kube_daemonset_status_updated_number_scheduled GAUGE STABLE The total number of nodes that are running updated daemon pod
kube_daemonset_metadata_generation GAUGE STABLE Sequence number representing a specific generation of the desired state.
kube_daemonset_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_daemonset_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.

๐Ÿ“ฆ deployment Metrics Specification (15 items)

Metric Name Type Description & Help
kube_deployment_created GAUGE STABLE Unix creation timestamp
kube_deployment_status_replicas GAUGE STABLE The number of replicas per deployment.
kube_deployment_status_replicas_ready GAUGE STABLE The number of ready replicas per deployment.
kube_deployment_status_replicas_available GAUGE STABLE The number of available replicas per deployment.
kube_deployment_status_replicas_unavailable GAUGE STABLE The number of unavailable replicas per deployment.
kube_deployment_status_replicas_updated GAUGE STABLE The number of updated replicas per deployment.
kube_deployment_status_observed_generation GAUGE STABLE The generation observed by the deployment controller.
kube_deployment_status_condition GAUGE STABLE The current status conditions of a deployment.
kube_deployment_spec_replicas GAUGE STABLE Number of desired pods for a deployment.
kube_deployment_spec_paused GAUGE STABLE Whether the deployment is paused and will not be processed by the deployment controller.
kube_deployment_spec_strategy_rollingupdate_max_unavailable GAUGE STABLE Maximum number of unavailable replicas during a rolling update of a deployment.
kube_deployment_spec_strategy_rollingupdate_max_surge GAUGE STABLE Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a deployment.
kube_deployment_metadata_generation GAUGE STABLE Sequence number representing a specific generation of the desired state.
kube_deployment_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_deployment_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.

๐Ÿ“ฆ endpoint Metrics Specification (8 items)

Metric Name Type Description & Help
kube_endpoint_info GAUGE STABLE Information about endpoint.
kube_endpoint_created GAUGE STABLE Unix creation timestamp
kube_endpoint_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_endpoint_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_endpoint_address_available GAUGE (Deprecated since v2.6.0) Number of addresses available in endpoint.
kube_endpoint_address_not_ready GAUGE (Deprecated since v2.6.0) Number of addresses not ready in endpoint
kube_endpoint_address GAUGE STABLE Information about Endpoint available and non available addresses.
kube_endpoint_ports GAUGE STABLE Information about the Endpoint ports.

๐Ÿ“ฆ horizontalpodautoscaler Metrics Specification (11 items)

Metric Name Type Description & Help
kube_horizontalpodautoscaler_info GAUGE Information about this autoscaler.
kube_horizontalpodautoscaler_metadata_generation GAUGE STABLE The generation observed by the HorizontalPodAutoscaler controller.
kube_horizontalpodautoscaler_spec_max_replicas GAUGE STABLE Upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
kube_horizontalpodautoscaler_spec_min_replicas GAUGE STABLE Lower limit for the number of pods that can be set by the autoscaler, default 1.
kube_horizontalpodautoscaler_spec_target_metric GAUGE The metric specifications used by this autoscaler when calculating the desired replica count.
kube_horizontalpodautoscaler_status_target_metric GAUGE The current metric status used by this autoscaler when calculating the desired replica count.
kube_horizontalpodautoscaler_status_current_replicas GAUGE STABLE Current number of replicas of pods managed by this autoscaler.
kube_horizontalpodautoscaler_status_desired_replicas GAUGE STABLE Desired number of replicas of pods managed by this autoscaler.
kube_horizontalpodautoscaler_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_horizontalpodautoscaler_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_horizontalpodautoscaler_status_condition GAUGE STABLE The condition of this autoscaler.

๐Ÿ“ฆ ingress Metrics Specification (7 items)

Metric Name Type Description & Help
kube_ingress_info GAUGE STABLE Information about ingress.
kube_ingress_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_ingress_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_ingress_created GAUGE STABLE Unix creation timestamp
kube_ingress_metadata_resource_version GAUGE Resource version representing a specific version of ingress.
kube_ingress_path GAUGE STABLE Ingress host, paths and backend service information.
kube_ingress_tls GAUGE STABLE Ingress TLS host and secret information.

๐Ÿ“ฆ job Metrics Specification (15 items)

Metric Name Type Description & Help
kube_job_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_job_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_job_info GAUGE STABLE Information about job.
kube_job_created GAUGE STABLE Unix creation timestamp
kube_job_spec_parallelism GAUGE STABLE The maximum desired number of pods the job should run at any given time.
kube_job_spec_completions GAUGE STABLE The desired number of successfully finished pods the job should be run with.
kube_job_spec_active_deadline_seconds GAUGE STABLE The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
kube_job_status_succeeded GAUGE STABLE The number of pods which reached Phase Succeeded.
kube_job_status_failed GAUGE STABLE The number of pods which reached Phase Failed and the reason for failure.
kube_job_status_active GAUGE STABLE The number of actively running pods.
kube_job_complete GAUGE STABLE The job has completed its execution.
kube_job_failed GAUGE STABLE The job has failed its execution.
kube_job_status_start_time GAUGE STABLE StartTime represents time when the job was acknowledged by the Job Manager.
kube_job_status_completion_time GAUGE STABLE CompletionTime represents time when the job was completed.
kube_job_owner GAUGE STABLE Information about the Job’s owner.

๐Ÿ“ฆ lease Metrics Specification (2 items)

Metric Name Type Description & Help
kube_lease_owner GAUGE Information about the Lease’s owner.
kube_lease_renew_time GAUGE Kube lease renew time.

๐Ÿ“ฆ mutatingwebhookconfiguration Metrics Specification (4 items)

Metric Name Type Description & Help
kube_mutatingwebhookconfiguration_info GAUGE Information about the MutatingWebhookConfiguration.
kube_mutatingwebhookconfiguration_created GAUGE Unix creation timestamp.
kube_mutatingwebhookconfiguration_metadata_resource_version GAUGE Resource version representing a specific version of the MutatingWebhookConfiguration.
kube_mutatingwebhookconfiguration_webhook_clientconfig_service GAUGE Service used by the apiserver to connect to a mutating webhook.

๐Ÿ“ฆ namespace Metrics Specification (5 items)

Metric Name Type Description & Help
kube_namespace_created GAUGE STABLE Unix creation timestamp
kube_namespace_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_namespace_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_namespace_status_phase GAUGE STABLE kubernetes namespace status phase.
kube_namespace_status_condition GAUGE The condition of a namespace.

๐Ÿ“ฆ networkpolicy Metrics Specification (5 items)

Metric Name Type Description & Help
kube_networkpolicy_created GAUGE Unix creation timestamp of network policy
kube_networkpolicy_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_networkpolicy_labels GAUGE Kubernetes labels converted to Prometheus labels.
kube_networkpolicy_spec_ingress_rules GAUGE Number of ingress rules on the networkpolicy
kube_networkpolicy_spec_egress_rules GAUGE Number of egress rules on the networkpolicy

๐Ÿ“ฆ node Metrics Specification (12 items)

Metric Name Type Description & Help
kube_node_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_node_created GAUGE STABLE Unix creation timestamp
kube_node_deletion_timestamp GAUGE Unix deletion timestamp
kube_node_info GAUGE STABLE Information about a cluster node.
kube_node_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_node_role GAUGE The role of a cluster node.
kube_node_spec_taint GAUGE STABLE The taint of a cluster node.
kube_node_spec_unschedulable GAUGE STABLE Whether a node can schedule new pods.
kube_node_status_allocatable GAUGE STABLE The allocatable for different resources of a node that are available for scheduling.
kube_node_status_capacity GAUGE STABLE The capacity for different resources of a node.
kube_node_status_condition GAUGE STABLE The condition of a cluster node.
kube_node_status_addresses GAUGE Node address information.

๐Ÿ“ฆ persistentvolumeclaim Metrics Specification (9 items)

Metric Name Type Description & Help
kube_persistentvolumeclaim_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_persistentvolumeclaim_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_persistentvolumeclaim_info GAUGE STABLE Information about persistent volume claim.
kube_persistentvolumeclaim_status_phase GAUGE STABLE The phase the persistent volume claim is currently in.
kube_persistentvolumeclaim_resource_requests_storage_bytes GAUGE STABLE The capacity of storage requested by the persistent volume claim.
kube_persistentvolumeclaim_access_mode GAUGE STABLE The access mode(s) specified by the persistent volume claim.
kube_persistentvolumeclaim_status_condition GAUGE Information about status of different conditions of persistent volume claim.
kube_persistentvolumeclaim_created GAUGE Unix creation timestamp
kube_persistentvolumeclaim_deletion_timestamp GAUGE Unix deletion timestamp

๐Ÿ“ฆ persistentvolume Metrics Specification (8 items)

Metric Name Type Description & Help
kube_persistentvolume_claim_ref GAUGE STABLE Information about the Persistent Volume Claim Reference.
kube_persistentvolume_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_persistentvolume_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_persistentvolume_status_phase GAUGE STABLE The phase indicates if a volume is available, bound to a claim, or released by a claim.
kube_persistentvolume_info GAUGE STABLE Information about persistentvolume.
kube_persistentvolume_capacity_bytes GAUGE STABLE Persistentvolume capacity in bytes.
kube_persistentvolume_created GAUGE Unix creation timestamp
kube_persistentvolume_deletion_timestamp GAUGE Unix deletion timestamp

๐Ÿ“ฆ poddisruptionbudget Metrics Specification (8 items)

Metric Name Type Description & Help
kube_poddisruptionbudget_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_poddisruptionbudget_labels GAUGE Kubernetes labels converted to Prometheus labels.
kube_poddisruptionbudget_created GAUGE STABLE Unix creation timestamp
kube_poddisruptionbudget_status_current_healthy GAUGE STABLE Current number of healthy pods
kube_poddisruptionbudget_status_desired_healthy GAUGE STABLE Minimum desired number of healthy pods
kube_poddisruptionbudget_status_pod_disruptions_allowed GAUGE STABLE Number of pod disruptions that are currently allowed
kube_poddisruptionbudget_status_expected_pods GAUGE STABLE Total number of pods counted by this disruption budget
kube_poddisruptionbudget_status_observed_generation GAUGE STABLE Most recent generation observed when updating this PDB status

๐Ÿ“ฆ pod Metrics Specification (53 items)

Metric Name Type Description & Help
kube_pod_completion_time GAUGE STABLE Completion time in unix timestamp for a pod.
kube_pod_container_info GAUGE STABLE Information about a container in a pod.
kube_pod_container_resource_limits GAUGE The number of requested limit resource by a container. It is recommended to use the kube\_pod\_resource\_limits metric exposed by kube-scheduler instead, as it is more precise.
kube_pod_container_resource_requests GAUGE The number of requested request resource by a container. It is recommended to use the kube\_pod\_resource\_requests metric exposed by kube-scheduler instead, as it is more precise.
kube_pod_container_state_started GAUGE STABLE Start time in unix timestamp for a pod container.
kube_pod_container_status_last_terminated_reason GAUGE Describes the last reason the container was in terminated state.
kube_pod_container_status_last_terminated_exitcode GAUGE Describes the exit code for the last container in terminated state.
kube_pod_container_status_last_terminated_timestamp GAUGE Last terminated time for a pod container in unix timestamp.
kube_pod_container_status_ready GAUGE STABLE Describes whether the containers readiness check succeeded.
kube_pod_container_status_restarts_total COUNTER STABLE The number of container restarts per container.
kube_pod_container_status_running GAUGE STABLE Describes whether the container is currently in running state.
kube_pod_container_status_terminated GAUGE STABLE Describes whether the container is currently in terminated state.
kube_pod_container_status_terminated_reason GAUG Describes the reason the container is currently in terminated state.
kube_pod_container_status_waiting GAUGE STABLE Describes whether the container is currently in waiting state.
kube_pod_container_status_waiting_reason GAUGE STABLE Describes the reason the container is currently in waiting state.
kube_pod_created GAUGE STABLE Unix creation timestamp
kube_pod_deletion_timestamp GAUGE Unix deletion timestamp
kube_pod_info GAUGE STABLE Information about pod.
kube_pod_ips GAUGE Pod IP addresses
kube_pod_init_container_info GAUGE STABLE Information about an init container in a pod.
kube_pod_init_container_resource_limits GAUGE The number of requested limit resource by an init container.
kube_pod_init_container_resource_requests GAUGE The number of requested request resource by an init container.
kube_pod_init_container_status_last_terminated_reason GAUGE Describes the last reason the init container was in terminated state.
kube_pod_init_container_status_ready GAUGE STABLE Describes whether the init containers readiness check succeeded.
kube_pod_init_container_status_restarts_total COUNTER STABLE The number of restarts for the init container.
kube_pod_init_container_status_running GAUGE STABLE Describes whether the init container is currently in running state.
kube_pod_init_container_status_terminated GAUGE STABLE Describes whether the init container is currently in terminated state.
kube_pod_init_container_status_terminated_reason GAUGE Describes the reason the init container is currently in terminated state.
kube_pod_init_container_status_waiting GAUGE STABLE Describes whether the init container is currently in waiting state.
kube_pod_init_container_status_waiting_reason GAUGE Describes the reason the init container is currently in waiting state.
kube_pod_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_pod_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_pod_overhead_cpu_cores GAUGE The pod overhead in regards to cpu cores associated with running a pod.
kube_pod_overhead_memory_bytes GAUGE The pod overhead in regards to memory associated with running a pod.
kube_pod_owner GAUGE STABLE Information about the Pod’s owner.
kube_pod_restart_policy GAUGE STABLE Describes the restart policy in use by this pod.
kube_pod_runtimeclass_name_info GAUGE The runtimeclass associated with the pod.
kube_pod_spec_volumes_persistentvolumeclaims_info GAUGE STABLE Information about persistentvolumeclaim volumes in a pod.
kube_pod_spec_volumes_persistentvolumeclaims_readonly GAUGE STABLE Describes whether a persistentvolumeclaim is mounted read only.
kube_pod_start_time GAUGE STABLE Start time in unix timestamp for a pod.
kube_pod_status_phase GAUGE STABLE The pods current phase.
kube_pod_status_qos_class GAUGE The pods current qosClass.
kube_pod_status_ready GAUGE STABLE Describes whether the pod is ready to serve requests.
kube_pod_status_ready_time GAUGE Readiness achieved time in unix timestamp for a pod.
kube_pod_status_initialized_time GAUGE Initialized time in unix timestamp for a pod.
kube_pod_status_container_ready_time GAUGE Readiness achieved time in unix timestamp for a pod containers.
kube_pod_status_reason GAUGE The pod status reasons
kube_pod_status_scheduled GAUGE STABLE Describes the status of the scheduling process for the pod.
kube_pod_status_scheduled_time GAUGE STABLE Unix timestamp when pod moved into scheduled status
kube_pod_status_unschedulable GAUGE STABLE Describes the unschedulable status for the pod.
kube_pod_tolerations GAUGE Information about the pod tolerations
kube_pod_service_account GAUGE The service account for a pod.
kube_pod_scheduler GAUGE The scheduler for a pod.

๐Ÿ“ฆ replicaset Metrics Specification (10 items)

Metric Name Type Description & Help
kube_replicaset_created GAUGE STABLE Unix creation timestamp
kube_replicaset_status_replicas GAUGE STABLE The number of replicas per ReplicaSet.
kube_replicaset_status_fully_labeled_replicas GAUGE STABLE The number of fully labeled replicas per ReplicaSet.
kube_replicaset_status_ready_replicas GAUGE STABLE The number of ready replicas per ReplicaSet.
kube_replicaset_status_observed_generation GAUGE STABLE The generation observed by the ReplicaSet controller.
kube_replicaset_spec_replicas GAUGE STABLE Number of desired pods for a ReplicaSet.
kube_replicaset_metadata_generation GAUGE STABLE Sequence number representing a specific generation of the desired state.
kube_replicaset_owner GAUGE STABLE Information about the ReplicaSet’s owner.
kube_replicaset_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_replicaset_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.

๐Ÿ“ฆ secret Metrics Specification (7 items)

Metric Name Type Description & Help
kube_secret_info GAUGE STABLE Information about secret.
kube_secret_type GAUGE STABLE Type about secret.
kube_secret_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_secret_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_secret_created GAUGE STABLE Unix creation timestamp
kube_secret_metadata_resource_version GAUGE Resource version representing a specific version of secret.
kube_secret_owner GAUGE Information about the Secret’s owner.

๐Ÿ“ฆ service Metrics Specification (7 items)

Metric Name Type Description & Help
kube_service_info GAUGE STABLE Information about service.
kube_service_created GAUGE STABLE Unix creation timestamp
kube_service_spec_type GAUGE STABLE Type about service.
kube_service_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_service_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_service_spec_external_ip GAUGE STABLE Service external ips. One series for each ip
kube_service_status_load_balancer_ingress GAUGE STABLE Service load balancer ingress status

๐Ÿ“ฆ statefulset Metrics Specification (15 items)

Metric Name Type Description & Help
kube_statefulset_created GAUGE STABLE Unix creation timestamp
kube_statefulset_status_replicas GAUGE STABLE The number of replicas per StatefulSet.
kube_statefulset_status_replicas_available GAUGE The number of available replicas per StatefulSet.
kube_statefulset_status_replicas_current GAUGE STABLE The number of current replicas per StatefulSet.
kube_statefulset_status_replicas_ready GAUGE STABLE The number of ready replicas per StatefulSet.
kube_statefulset_status_replicas_updated GAUGE STABLE The number of updated replicas per StatefulSet.
kube_statefulset_status_observed_generation GAUGE STABLE The generation observed by the StatefulSet controller.
kube_statefulset_replicas GAUGE STABLE Number of desired pods for a StatefulSet.
kube_statefulset_ordinals_start GAUGE Start ordinal of the StatefulSet.
kube_statefulset_metadata_generation GAUGE STABLE Sequence number representing a specific generation of the desired state for the StatefulSet.
kube_statefulset_persistentvolumeclaim_retention_policy GAUGE Count of retention policy for StatefulSet template PVCs
kube_statefulset_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_statefulset_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.
kube_statefulset_status_current_revision GAUGE STABLE Indicates the version of the StatefulSet used to generate Pods in the sequence \[0,currentReplicas).
kube_statefulset_status_update_revision GAUGE STABLE Indicates the version of the StatefulSet used to generate Pods in the sequence \[replicas-updatedReplicas,replicas)

๐Ÿ“ฆ storageclass Metrics Specification (4 items)

Metric Name Type Description & Help
kube_storageclass_info GAUGE STABLE Information about storageclass.
kube_storageclass_created GAUGE STABLE Unix creation timestamp
kube_storageclass_annotations GAUGE Kubernetes annotations converted to Prometheus labels.
kube_storageclass_labels GAUGE STABLE Kubernetes labels converted to Prometheus labels.

๐Ÿ“ฆ validatingwebhookconfiguration Metrics Specification (4 items)

Metric Name Type Description & Help
kube_validatingwebhookconfiguration_info GAUGE Information about the ValidatingWebhookConfiguration.
kube_validatingwebhookconfiguration_created GAUGE Unix creation timestamp.
kube_validatingwebhookconfiguration_metadata_resource_version GAUGE Resource version representing a specific version of the ValidatingWebhookConfiguration.
kube_validatingwebhookconfiguration_webhook_clientconfig_service GAUGE Service used by the apiserver to connect to a validating webhook.

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ๋ฐ ์•Œ๋ฆฌ์ต์Šคํ”„๋ ˆ์Šค ์–ดํ•„๋ฆฌ์—์ดํŠธ ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์Šต๋‹ˆ๋‹ค.


Posted:

/

Category:

Author:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *