You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
+
# Changelog
2
+
1
3
## v2.16.0 / 2025-06-23
2
4
3
-
## Note
5
+
**Note:**
4
6
5
7
* This release builds with Golang `v1.24.4`
6
8
* This release builds with `k8s.io/client-go`: `v0.32.6`
@@ -15,7 +17,7 @@
15
17
16
18
## v2.15.0 / 2025-02-03
17
19
18
-
## Note
20
+
**Note:**
19
21
20
22
* This release builds with Golang `v1.23.5`
21
23
* This release builds with `k8s.io/client-go`: `v0.32.1`
@@ -31,7 +33,7 @@
31
33
32
34
## v2.14.0 / 2024-11-08
33
35
34
-
### Note
36
+
**Note:**
35
37
36
38
* This release builds with Golang `v1.23.3`
37
39
* This release builds with `k8s.io/client-go`: `v0.31.2`
@@ -54,7 +56,7 @@
54
56
55
57
## v2.13.0 / 2024-07-18
56
58
57
-
### Note
59
+
**Note:**
58
60
59
61
* This release builds with Golang `v1.22.5`.
60
62
* This release builds with `k8s.io/client-go`: `v0.30.3`.
@@ -69,7 +71,7 @@
69
71
70
72
## v2.12.0 / 2024-04-02
71
73
72
-
### Note
74
+
**Note:**
73
75
74
76
* This release addresses a critical issue where scraping the exposition data for certain types caused metrics-backends to crash: <https://github.com/kubernetes/kube-state-metrics/issues/2248>.
75
77
* This release builds with `k8s.io/client-go`: `v0.29.3`.
@@ -80,7 +82,7 @@
80
82
81
83
## v2.11.0 / 2024-03-04
82
84
83
-
### Note
85
+
**Note:**
84
86
85
87
This release builds with Golang `v1.21.8`.
86
88
@@ -97,7 +99,7 @@ This release builds with Golang `v1.21.8`.
97
99
98
100
## v2.10.1 / 2023-10-09
99
101
100
-
### Note
102
+
**Note:**
101
103
102
104
* This release addresses a regression introduced in [#2105](https://github.com/kubernetes/kube-state-metrics/pull/2105).
103
105
@@ -106,7 +108,7 @@ This release builds with Golang `v1.21.8`.
106
108
107
109
## v2.10.0 / 2023-08-31
108
110
109
-
### Note
111
+
**Note:**
110
112
111
113
* Label and annotation metrics aren't exposed by default anymore to reduce the memory usage of the default configuration of kube-state-metrics. Before this change, they used to only include the name and namespace of the objects which is not relevant to users not opting in these metrics.
112
114
@@ -139,7 +141,7 @@ This release does not incorporate any user-facing changes. Re-running release pr
139
141
140
142
The changes mentioned below are only the user-facing ones. For a list of the complete set of changes, refer the changelog associated with the release tag.
141
143
142
-
### Note
144
+
**Note:**
143
145
144
146
* The deprecated experimental VerticalPodAutoscaler metrics are no longer supported, and have been removed. We recommend to use CustomResourceState metrics to gather metrics from custom resources like the Vertical Pod Autoscaler.
145
147
*#2004 regulated label names to adhere with [OTel-Prometheus standards](https://github.com/open-telemetry/opentelemetry-specification/blob/8946dfc6a2302f78b0224fcc3f4dfb816a7bb1f4/specification/compatibility/prometheus_and_openmetrics.md?plain=1#L224-L229), so existing label names that do not follow the same may be replaced by the ones that do. Please refer to the PR for more details.
@@ -203,7 +203,7 @@ Note that if CPU limits are set too low, kube-state-metrics' internal queues wil
203
203
204
204
In a 100 node cluster scaling test the latency numbers were as follows:
205
205
206
-
```
206
+
```text
207
207
"Perc50": 259615384 ns,
208
208
"Perc90": 475000000 ns,
209
209
"Perc99": 906666666 ns.
@@ -267,7 +267,7 @@ Each kube-state-metrics pod uses FieldSelector (spec.nodeName) to watch/list pod
267
267
268
268
A daemonset kube-state-metrics example:
269
269
270
-
```
270
+
```yaml
271
271
apiVersion: apps/v1
272
272
kind: DaemonSet
273
273
spec:
@@ -289,7 +289,7 @@ spec:
289
289
290
290
To track metrics for unassigned pods, you need to add an additional deployment and set `--track-unscheduled-pods`, as shown in the following example:
291
291
292
-
```
292
+
```yaml
293
293
apiVersion: apps/v1
294
294
kind: Deployment
295
295
spec:
@@ -315,7 +315,7 @@ When scraping the individual pods directly in an HA setup, Prometheus will inges
315
315
316
316
Install this project to your `$GOPATH` using `go get`:
317
317
318
-
```
318
+
```bash
319
319
go get k8s.io/kube-state-metrics
320
320
```
321
321
@@ -324,7 +324,7 @@ go get k8s.io/kube-state-metrics
324
324
Simply run the following command in this root folder, which will create a
325
325
self-contained, statically-linked binary and build a Docker image:
326
326
327
-
```
327
+
```bash
328
328
make container
329
329
```
330
330
@@ -347,7 +347,7 @@ To have Prometheus discover kube-state-metrics instances it is advised to create
347
347
348
348
**Note:** Google Kubernetes Engine (GKE) Users - GKE has strict role permissions that will prevent the kube-state-metrics roles and role bindings from being created. To work around this, you can give your GCP identity the cluster-admin role by running the following one-liner:
349
349
350
-
```
350
+
```bash
351
351
kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud info --format='value(config.account)')
352
352
```
353
353
@@ -422,14 +422,14 @@ When developing, test a metric dump against your local Kubernetes cluster by run
422
422
423
423
> Users can override the apiserver address in KUBE-CONFIG file with `--apiserver` command line.
0 commit comments