After a testing period of 10 days (release candidate 2), there were no additional bugs found, thus releasing the stable version v1.6.0.
- [FEATURE] Add
kube_replicaset_labels
to replicaset collector (#638). - [FEATURE] Add ingresses collector (#640).
- [FEATURE] Add certificate signing request collector (#650).
- [FEATURE] Add
kube_persistentvolumeclaim_access_mode
metric (#673). - [FEATURE] Add
kube_persistentvolume_capacity
metric (#674). - [FEATURE] Add
kube_job_owner
metric (#681). - [ENHANCEMENT] Add
priority_class
label tokube_pod_info
metric (#713). - [BUGFIX] Bump addon-resizer patch version reducing resource consumption (#724).
- [BUGFIX] Use k8s.io/api/apps/v1 for DaemonSet, Deployment and StatefulSet reflector (#720).
After a testing period of 30 days, there were no additional bugs found or features introduced. Due to no bugs being reported over an in total 41 days period, we feel no more pre-releases are necessary for a stable release.
This release's focus was a large architectural change in order to improve performance and resource usage of kube-state-metrics drastically. Special thanks to @mxinden for his hard work on this! See the changelog of the pre-releases for more detailed information and related pull requests.
An additional change has been requested to be listed in the release notes:
- [CHANGE] Due to removal of the surrounding mechanism the
ksm_resources_per_scrape
andksm_scrape_error_total
metrics no longer exists.
After a testing period of 11 days, there were no additional bugs found or features introduced.
- [CHANGE] Disable gzip compression of kube-state-metrics responses by default. Can be re-enabled via
--enable-gzip-encoding
. See #563 for more details. - [FEATURE] Add
kube_replicaset_owner
metric (#520). - [FEATURE] Add
kube_pod_container_status_last_terminated_reason
metric (#535). - [FEATURE] Add
stateful_set_status.{current,update}_revision
metric (#545). - [FEATURE] Add pod disruption budget collector (#551).
- [FEATURE] Make kube-state-metrics usable as a library (#575).
- [FEATURE] Add
kube_service_spec_external_ip
metric and addexternal_name
andload_balancer_ip
label tokube_service_info
metric (#571). - [ENHANCEMENT] Add uid info in
kube_pod_info
metric (#508). - [ENHANCEMENT] Update addon-resizer to 1.8.3 and increase resource limits (#552).
- [ENHANCEMENT] Improve metric caching and rendering performance (#498).
- [ENHANCEMENT] Adding CreateContainerConfigError as possible reason for container not starting (#578).
After a testing period of 16 days, there were no additional bugs found or features introduced.
- [CHANGE]
kube_job_status_start_time
andkube_job_status_completion_time
metric types changed from counter to gauge. - [CHANGE]
job
label tojob_name
as this collides with the Prometheusjob
label. - [FEATURE] Allow white- and black-listing metrics to be exposed.
- [FEATURE] Add
kube_node_status_capacity
andkube_node_status_allocatable
metrics. - [FEATURE] Add
kube_pod_status_scheduled_time
metric. - [FEATURE] Add
kube_pod_container_status_waiting_reason
andkube_pod_container_status_terminated_reason
metrics. - [ENHANCEMENT] Add generic resource metrics for Pods,
kube_pod_container_resource_requests
andkube_pod_container_resource_limits
. This deprecates the old resource metrics for Pods. - [ENHANCEMENT] Prefer protobuf over json when communicating with the Kubernetes API.
- [ENHANCEMENT] Add dynamic volume support.
- [ENHANCEMENT] Properly set kube-state-metrics user agent when performing requests against the Kubernetes API.
- [BUGFIX] Fix incrorrect HPA metric labels.
- [BUGFIX] Use Go 1.10.1 fixing TLS and memory issues.
- [BUGFIX] Fix Pod unknown state.
After a testing period of 12 days, there were no additional bugs found or features introduced.
- [CHANGE] Removed
--in-cluster
flag in #371. Users can no longer specify--apiserver
with--in-cluster=true
. To emulate this behaviour in future releases, set theKUBERNETES_SERVICE_HOST
environment variable to the value of the--apiserver
argument. - [FEATURE] Allow to specify multiple namespace.
- [FEATURE] Add
kube_pod_completion_time
,kube_pod_spec_volumes_persistentvolumeclaims_info
, andkube_pod_spec_volumes_persistentvolumeclaims_readonly
metrics to the Pod collector. - [FEATURE] Add
kube_node_spec_taint
metric. - [FEATURE] Add
kube_namespace_annotations
metric. - [FEATURE] Add
kube_deployment_spec_strategy_rollingupdate_max_surge
metric. - [FEATURE] Add
kube_persistentvolume_labels
metric. - [FEATURE] Add
kube_persistentvolumeclaim_lables
metric. - [FEATURE] Add
kube_daemonset_labels
metric. - [FEATURE] Add Secret metrics.
- [FEATURE] Add ConfigMap metrics.
- [ENHANCEMENT] Add additional reasons to
kube_pod_container_status_waiting_reason
metric. - [BUGFIX] Fix namespacing of HPA.
- [BUGFIX] Fix namespacing of PersistentVolumes.
- [BUGFIX] Fix CronJob tab parsing.
After a testing period of 10 days, there were no additional bugs found or features introduced.
- [CHANGE] The CronJob collector now expects the version to be v1beta1.
- [FEATURE] Add
Endpoints
metrics collector. - [FEATURE] Add
PersistentVolume
metrics collector. - [FEATURE] Add
HorizontalPodAutoscaler
metrics collector. - [FEATURE] Add
kube_pod_container_status_terminated_reason
metric. - [FEATURE] Add
kube_job_labels
metric. - [FEATURE] Add
kube_cronjob_labels
metric. - [FEATURE] Add
kube_service_spec_type
metric. - [FEATURE] Add
kube_statefulset_status_replicas_current
metric. - [FEATURE] Add
kube_statefulset_status_replicas_ready
metric. - [FEATURE] Add
kube_statefulset_status_replicas_updated
metric. - [ENHANCEMENT] Allow specifying the host/IP kube-state-metrics binds to.
- [ENHANCEMENT] Add
volumename
label tokube_persistentvolumeclaim_info
metric. - [ENHANCEMENT] Add
cluster_ip
label tokube_service_info
metric. - [ENHANCEMENT] Print version on startup and useful debug information at runtime.
- [ENHANCEMENT] Add metrics for kube-state-metrics itself. For separation purposes this listens on a separate host/IP and port, both configurable respectively.
After a testing period of one week, there were no additional bugs found or features introduced.
- [FEATURE] Add
kube_pod_container_status_waiting_reason
metric. - [FEATURE] Add
kube_node_status_capacity_nvidia_gpu_cards
andkube_node_status_allocatable_nvidia_gpu_cards
metrics. - [FEATURE] Add
kube_persistentvolumeclaim_info
,kube_persistentvolumeclaim_status_phase
andkube_persistentvolumeclaim_resource_requests_storage_bytes
metrics. - [FEATURE] Add
kube_cronjob_created
metric. - [FEATURE] Add
kube_namespace_status_phase
,kube_namespace_labels
andkube_namespace_created
metrics. - [FEATURE] Add
*_created
metrics for all available collectors and resources. - [FEATURE] Add ability to specify glog flags.
- [FEATURE] Add ability to limit kube-state-metrics objects to single namespace.
- [ENHANCEMENT] Bump client-go to 5.0 release branch.
- [ENHANCEMENT] Add pprof endpoints for profiling.
- [ENHANCEMENT] Log resources and API versions used when collecting metrics from objects.
- [ENHANCEMENT] Log number of resources used to generate metrics off of.
- [ENHANCEMENT] Improve a usage message for collectors flag.
- [BUGFIX] Fix Job start time nil panic.
- [BUGFIX] Fix nil pointer panic when pods have an owner without controllers.
After a testing period of one week, there were no additional bugs found or features introduced.
- [CHANGE] Remove
kube_node_status_ready
,kube_node_status_out_of_disk
,kube_node_status_memory_pressure
,kube_node_status_disk_pressure
, andkube_node_status_network_unavailable
metrics in favor of one generickube_node_status_condition
metric. - [CHANGE] Flatten created by label on
kube_pod_info
metric. - [FEATURE] Add
kube_pod_start_time
metric. - [FEATURE] Add PersistentVolumeClaim metrics.
- [FEATURE] Add StatefulSet metrics.
- [FEATURE] Add Job and CronJob metrics.
- [FEATURE] Add label metrics for deployments.
- [FEATURE] Add
kube_pod_owner
metrics. - [ENHANCEMENT] Add
provider_id
label tokube_node_info
metric. - [BUGFIX] Fix various nil pointer panics.
- [FEATURE] Add label metrics for Pods, Nodes and Services.
- [FEATURE] Expose number of ready Pods for DaemonSets.
- [FEATURE] Add LimitRange metrics.
- [FEATURE] Add ReplicationController metrics.
- [ENHANCEMENT] Add NodeMemoryPressure, NodeDiskPressure, NodeNetworkUnavailable condition metrics.
- [ENHANCEMENT] Add
created_by
label tokube_pod_info
metric.
- [BUGFIX] fix panic if max unavailable if rolling update is unset
- [FEATURE] Add replicaset metrics
- [FEATURE] Add resourcequota metrics
- [FEATURE] Add daemonset metrics
- [FEATURE] Add resource limit and request metrics for pod containers
- [FEATURE] Add node name label to
kube_pod_info
metric - [FEATURE] Add rolling update metrics for deployments
- [ENHANCEMENT] Allow disabling collectors
- [ENHANCEMENT] Improve in cluster vs non in cluster configuration
- [FEATURE] Add pod metrics:
kube_pod_status_scheduled
,kube_pod_container_requested_cpu_cores
andkube_pod_container_requested_memory_bytes
- [FEATURE] Add deployment metric
kube_deployment_metadata_generation
- [FEATURE] Add node metric
kube_node_spec_unschedulable
- [CHANGE] Rename
kube_node_status_allocateable_*
tokube_node_status_allocatable_*
- [CHANGE] Prefix all metrics with
kube_
- [CHANGE] Make metric collection synchronous
- [FEATURE] Add a number of node/pod/deployment metrics