NOTE: This is a major new alpha 2.0 release with breaking changes and removed metrics. See details below!
- [CHANGE] Apply boundaries to metrics and allow via flag (--labels-allow-list) what labels to include #1125
- [CHANGE] Update DaemonSet updated_number_scheduled metric name to be consistent #1181
Metric was changed from kube_daemonset_updated_number_scheduled to kube_daemonset_status_updated_number_scheduled - [CHANGE] Rework resource metrics #1168
Metrics kube_pod_container_resource_requests, kube_pod_container_resource_limits, kube_pod_overhead, kube_pod_init_container_resource_limits, kube_pod_init_container_resource_requests changed - [CHANGE] Convert k8s labels to snake case #1165
- [CHANGE] Mutatingwebhookconfiguration.go: Switch to v1 #1144
- [CHANGE] v2: Rename storage class labels reclaimPolicy to reclaim_policy and volumeBindingMode to volume_binding_mode #1107
- [CHANGE] v2: Renamed --namespace flag to --namespaces #1098
- [CHANGE] Rename kube_pod_deleted to kube_pod_deletion_timestamp #1079
- [CHANGE] v2: Rename collector flag to resource flag #1006
--resources is the new flag - [CHANGE] Remove non-identifying labels from pod metrics #1009
- [CHANGE] v2: Remove deprecated stable metrics #1004
Note that some of these were replaced with EXPERIMENTAL resource metrics. See #1168 for more details.
kube_pod_container_resource_requests
andkube_pod_container_resource_limits
are the replacements withresource
labels
representing the resource name andunit
labels representing the resource unit.- kube_pod_container_resource_requests_cpu_cores
- kube_pod_container_resource_limits_cpu_cores
- kube_pod_container_resource_requests_memory_bytes
- kube_pod_container_resource_limits_memory_bytes
kube_node_status_capacity
andkube_node_status_allocatable
are the replacements withresource
labels
representing the resource name andunit
labels representing the resource unit.- kube_node_status_capacity_pods
- kube_node_status_capacity_cpu_cores
- kube_node_status_capacity_memory_bytes
- kube_node_status_allocatable_pods
- kube_node_status_allocatable_cpu_cores
- kube_node_status_allocatable_memory_bytes
- [CHANGE] Rename black-/whitelist to allow/deny-list #1045
New flags are --metric-allowlist and --metric-denylist - [CHANGE] Update telemetry port to 8081 #1049
- [CHANGE] v2: Rename hpa metrics to use full horizontalpodautoscaler #1003
All metrics with prefix of kube_hpa_ were renamed to kube_horizontalpodautoscaler_ - [CHANGE] v2: change metrics port to 8080, telemetry port to 8081 #1005
- [FEATURE] Add http request metric for kube-state-metrics main /metrics #1218
- [FEATURE] Add fc/iscsi/nfs identifier tags to persistentvolume_info metric #1208
- [FEATURE] Adds new pod metric kube_pod_container_state_started #1183
- [FEATURE] Add observedGeneration metric (kube_daemonset_status_observed_generation) for DaemonSets #1178
- [FEATURE] Add internal_ip to node_info #1172
- [FEATURE] Avoid conflicts when mapping Kubernetes labels to Prometheus labels #1156
- [FEATURE] Add aws/gce volume id to kube_persistentvolume_info #1146
- [FEATURE] Add UnexpectedAdmissionError to kube_pod_status_reason metric #1145
- [FEATURE] Add init container requests (kube_pod_init_container_resource_requests) #1123
- [FEATURE] Add host_network to kube_pod_info #1100
- [FEATURE] Add kube_replicationcontroller_owner #1058
- [FEATURE] Pod: add gauges for pod overhead (kube_pod_overhead) #1053
- [FEATURE] Add "Terminating" status in kube_pod_status_phase metrics #1013
- [FEATURE] Add lease collector metrics #1038
- [ENHANCEMENT] Add DeprecatedVersion to struct FamilyGenerator and func NewFamilyGenerator #1160
- [ENHANCEMENT] Add security context to deployment and statefulset #1034
- [BUGFIX] Fix VolumeAttachment API version mismatch: expected v1 but watching v1beta1 #1136
- [BUGFIX] Fix various CI issues (kube_volumeattachment_info nodeName -> node label rename) #1117
- [BUGFIX] Fix maxUnavailable to round down instead up #1076