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
about: Report a bug encountered while running kube-state-metrics
4
+
title: ''
5
+
labels: kind/bug
6
+
assignees: ''
7
+
8
+
---
9
+
10
+
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
11
+
12
+
If the matter is security related, please disclose it privately see https://github.com/kubernetes/kube-state-metrics/blob/master/SECURITY.md
13
+
-->
14
+
15
+
**What happened**:
16
+
17
+
**What you expected to happen**:
18
+
19
+
**How to reproduce it (as minimally and precisely as possible)**:
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ the raw metrics. Note that the metrics exposed on the `/metrics` endpoint
26
26
reflect the current state of the Kubernetes cluster. When Kubernetes objects
27
27
are deleted they are no longer visible on the `/metrics` endpoint.
28
28
29
+
Note that any new features will be merged into master but released with v2.1.0 release, as currently v2.0.0 is in post feature freeze and only accepting bug fixes.
30
+
29
31
## Table of Contents
30
32
31
33
-[Versioning](#versioning)
@@ -61,29 +63,33 @@ The compatibility matrix for client-go and Kubernetes cluster can be found
61
63
All additional compatibility is only best effort, or happens to still/already be supported.
62
64
63
65
#### Compatibility matrix
66
+
64
67
At most, 5 kube-state-metrics and 5 [kubernetes releases](https://github.com/kubernetes/kubernetes/releases) will be recorded below.
-`-` The Kubernetes cluster has features the client-go library can't use (additional API objects, deprecated APIs, etc).
74
77
78
+
**Note:** The `v2.0.0-alpha.2+` and `master` releases of kube-state-metrics work on Kubernetes v1.17 and v1.18 excluding Ingress or CertificateSigningRequest resource metrics. If you require those metrics and are on an older Kubernetes version, use v2.0.0-alpha.1 or v1.9.7 kube-state-metrics release.
79
+
75
80
#### Resource group version compatibility
81
+
76
82
Resources in Kubernetes can evolve, i.e., the group version for a resource may change from alpha to beta and finally GA
77
83
in different Kubernetes versions. For now, kube-state-metrics will only use the oldest API available in the latest
- then specify a set of namespaces (using the `--namespace` option) and a set of kubernetes objects (using the `--resources`) that your serviceaccount has access to in the `kube-state-metrics` deployment configuration
292
+
- then specify a set of namespaces (using the `--namespaces` option) and a set of kubernetes objects (using the `--resources`) that your serviceaccount has access to in the `kube-state-metrics` deployment configuration
287
293
288
294
```yaml
289
295
spec:
@@ -293,7 +299,7 @@ spec:
293
299
- name: kube-state-metrics
294
300
args:
295
301
- '--resources=pods'
296
-
- '--namespace=project1'
302
+
- '--namespaces=project1'
297
303
```
298
304
299
305
For the full list of arguments available, see the documentation in [docs/cli-arguments.md](./docs/cli-arguments.md)
0 commit comments