Commit Graph

380 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 9edd02b9d3
Merge pull request #1835 from rexagod/1790
Deprecate VPA
2022-11-14 10:44:41 -08:00
Akshit Tyagi 837f7473e1 update kube_node_status_{capacity/allocatable} doc to clarify difference 2022-11-14 14:57:16 +00:00
Pranshu Srivastava b926fd968e
Incorporate Cobra
s/pflags/cobra/g:
* Use spf13/cobra to handle all flags and sub-commands.
* Remove all spf13/pflag usage, and fallback to the in-build flag
  package if, and when needed.
* Add completion support.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-10 18:25:12 +05:30
Pranshu Srivastava 2279fb2695
Deprecate VPA
Deprecate VPA metrics in v2.9.0.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-10 02:13:51 +05:30
Kubernetes Prow Robot dc1f1f3018
Merge pull request #1876 from mattcary/kep1847
Add retention policy metrics for KEP-1847
2022-11-08 12:58:18 -08:00
Matthew Cary b6c5667fe6 Add retention policy metrics for KEP-1847 2022-11-08 11:42:30 -08:00
Kubernetes Prow Robot c0a03ad6bb
Merge pull request #1813 from bavarianbidi/crd_only_mode
introduce custom-resources-only flag ...
2022-11-08 03:44:20 -08:00
Kubernetes Prow Robot d5bd2c8274
Merge pull request #1823 from rexagod/1815
Support filtering label allowlist by "*"
2022-11-08 03:42:22 -08:00
Pranshu Srivastava d982bbc9c9
Support filtering label allowlist by "*"
Support filtering label allowlist by "*", which will expand to the
enabled resources, while infering their values based on its value(s).

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-07 23:59:36 +05:30
Mario Constanti 53af11625c introduce custom-resources-only flag ...
... to only monitor all known custom-resource configurations instead of
listing each of them explicitly

Signed-off-by: Mario Constanti <mario@constanti.de>
2022-11-07 07:31:41 +01:00
Catherine Fang 43c6073234 Refactoring 2022-11-04 15:07:37 -04:00
Catherine Fang f9d29ba761 Refactoring 2022-11-04 08:44:00 -04:00
Catherine Fang 87a7793c7f Clean 2022-11-04 08:44:00 -04:00
Catherine Fang 2c0c8d2e51 Sharding per node 2022-11-04 08:44:00 -04:00
Pranshu Srivastava 6d2a555bbc
Allow `labelFromKey` field
Allow `labelFromKey` field for the following types:
* Gauge: Done.
* Info: Done.
* StateSet: N/A (redundant use case, see doc changes for more info).

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-04 15:09:13 +05:30
Pranshu Srivastava 5d20fd3454
Recommend kube-scheduler alternatives
Recommend metrics exposed by the kube-scheduler, in case of the ones below:
* `kube_pod_container_resource_limits`
* `kube_pod_container_resource_requests`

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-03 23:46:20 +05:30
Pavel Timofeev aba1302f28
Clarify valueFrom comment 2022-10-26 13:56:41 -06:00
Pavel Timofeev 1ea0ba87a3
One more typo fix 2022-10-26 13:53:02 -06:00
Pavel Timofeev 4c6fff1478
Fix typos 2022-10-25 22:48:27 -06:00
Kubernetes Prow Robot d4fdcda6f5
Merge pull request #1850 from rexagod/1847
Represent GVK information as labels
2022-10-20 09:47:01 -07:00
Pranshu Srivastava 762f98bb70
fixup! fixup! Represent GVK information as labels 2022-10-18 21:37:58 +05:30
Pranshu Srivastava 7f906e87b6
fixup! Represent GVK information as labels 2022-10-18 21:16:56 +05:30
Christian Schlotter 563aac0398
customresourcestate fix type indentation in example 2022-10-17 09:11:59 +02:00
Lanting Chiang ceaad61c45 export Lease.Spec.HolderIdentity 2022-10-12 09:52:39 -04:00
Pranshu Srivastava 633cbf49d0
Represent GVK information as labels
Represent GVK information as labels in the metrics, instead of appending
them to the metric name itself. This would allow users to aggregate
varying GVKs of a CR under the same metric, making operations much more
easier.
2022-10-08 00:24:16 +05:30
Lanting Chiang 5464a9d0e0 update lease store to export namespace 2022-09-28 11:07:10 -04:00
Lanting Chiang 8f883f0601 Allow Lease metrics to be exported across all namespaces 2022-09-27 17:15:41 -04:00
Quentin DUPUY 8f293ab20f
fix/docs: Typo correction in SA metrics
Typo correction in SA metrics documentation in the summary
2022-09-19 15:19:34 +02:00
Kubernetes Prow Robot 20ef8a7596
Merge pull request #1752 from ssabo/master
add exit code
2022-09-04 22:00:38 -07:00
Catherine Fang ee77b19bdb Promote two metrics to stable 2022-08-30 20:51:29 -04:00
Shaun Sabo 5bfe00666c documentation 2022-08-24 13:26:51 -07:00
Kubernetes Prow Robot ebc0e18687
Merge pull request #1814 from nabokihms/local-storage-labels
feat: Add local storage labels to kube_persistentvolume_info
2022-08-24 07:38:03 -07:00
Kubernetes Prow Robot 6dfeab3dc5
Merge pull request #1816 from mrueg/disable-rbac-metrics
Remove RBAC resources from default exposed metric set
2022-08-24 06:34:05 -07:00
m.nabokikh 9e639b2ff9 Add host path metrics, fix table formatting
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-08-24 11:17:08 +04:00
Christian Schlotter 44831f7386
Prevent multiple custom resource configurations for the same resource 2022-08-24 08:20:08 +02:00
Manuel Rüger 93e79fc9d8 Remove RBAC resources from default exposed metric set
These resources might create a lot of metrics,
so we won't enable them by default for now.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-08-23 18:44:55 +02:00
Kubernetes Prow Robot 5b017f7ffc
Merge pull request #1789 from mrueg/update-go
Update dependencies
2022-08-23 07:13:24 -07:00
m.nabokikh a6984e00ef feat: Add local storage labels to kube_persistentvolume_info
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-08-23 15:45:07 +04:00
Mario Constanti 9f7d1af299 graduate new endpoint metrics to STABLE
* graduate kube_endpoint_ports and kube_endpoint_address to STABLE
* graduate kube_endpoint_address_not_ready and
  kube_endpoint_address_available to DEPRECATED as the information is
precomputed during metrics-scraping

Signed-off-by: Mario Constanti <mario@constanti.de>
2022-08-23 09:06:49 +02:00
Manuel Rüger 03906e6e49 Update dependencies
go v1.18.3 -> v1.18.5
prometheus v2.35.0 -> v2.37.0
golangci-lint v1.46.2 -> v1.48.0

Several go dependencies, among them:

k8s v1.24.2 -> v1.24.4

cloudbuild image
v20211118-2f2d816b90 -> v20220609-2e4c91eb7e

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-08-22 18:56:39 +02:00
Kubernetes Prow Robot 3532203e8f
Merge pull request #1799 from kaitoii11/rolebinding
Add support for rolebindings
2022-08-18 12:22:12 -07:00
Christian Schlotter 52d3ab621b
pkg/customresourcestate implement info and stateSet metric type and refactor configuration file
* Adds detection of booleans in string format to getNum.
* Refactors configuration file to allow definition of different metric types
  having different configuration variables.
* Refactor order of types and funcs in pkg/customersourcestate.
* Allows info and stateSet metrics to iterate over arrays.
* Adds `nilIsZero` config variable to gauge to indicate non-existing values to tread as 0 value instead of returning an error.
* Skip adding a label instead of setting value to `<nil>`.
* Replace namespace and subsystem by metricsNamePrefix
* Adjust docs for customresourcestate metrics to align with new configuration file
2022-08-18 21:05:09 +02:00
Kaito Ii aa01f53446 fix metrics name 2022-08-10 01:49:55 +09:00
Kubernetes Prow Robot 767af98d2f
Merge pull request #1725 from tanguyfalconnet/feat/hpa/status_current_target
feat(hpa): status current metric
2022-08-09 07:34:51 -07:00
Kaito Ii 51df8fe763 add rolebinding metrics 2022-08-07 01:32:57 +09:00
Evgen Karlashov 9197bb28b9 Changes to customresourcestate doc
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
2022-07-08 11:25:06 +02:00
Evgen Karlashov 5ba662251f Fix custom resource metrics documentation
Signed-off-by: Evgen Karlashov <ievgen.karlashov@kpn.com>
2022-07-08 11:25:06 +02:00
Kaito Ii a601d33bb4 Fix typo
Signed-off-by: Kaito Ii <kaitoii1111@gmail.com>
2022-06-30 20:55:28 +09:00
Kaito Ii 3c9908d0b3 add role and cluster role
Signed-off-by: Kaito Ii <kaitoii1111@gmail.com>
2022-06-30 20:55:25 +09:00
Kubernetes Prow Robot e4011f8f4b
Merge pull request #1773 from Serializator/service-account-metrics-1717
Add support for the ServiceAccount resource (Ref: #1717)
2022-06-30 02:12:07 -07:00
Julian van den Berkmortel a2ab72a773
Update the developer documentation for adding a new resource metric collector 2022-06-29 23:59:32 +02:00
Julian van den Berkmortel 6a24f639f8
Add support for the ServiceAccount resource (Ref: #1717) 2022-06-29 23:58:01 +02:00
Julian van den Berkmortel a0980c87d1
Add metric for pod tolerations (Ref: #1744) 2022-06-29 17:56:52 +02:00
yosshi825 9c90196261 fix:typo 2022-06-28 22:40:31 +09:00
Kubernetes Prow Robot 8d8df116d9
Merge pull request #1761 from bavarianbidi/new_kube_endpoint_address_metrics
add new kube_endpoint_address metric
2022-06-22 09:29:43 -07:00
Mario Constanti 6082c0335c kube_endpoint_address now has a ready label
Signed-off-by: Mario Constanti <mario@constanti.de>
2022-06-22 13:35:33 +02:00
Mario Constanti 997b5cedfe add new kube_endpoint_address metric
As KSM shouldn't be responsible for computation of metrics, a new metric
is needed to expose available and unavailable addresses of an endpoint.

This new metric is generated as a future replacement for
kube_endpoint_address_available and kube_endpoint_address_not_ready.

Signed-off-by: Mario Constanti <mario@constanti.de>
2022-06-21 05:41:09 +02:00
Atsushi Yamamoto 3b93153364
Update kube_node_status_allocatable unit doc 2022-06-16 17:26:33 -07:00
yosshi825 cc322b7240 docs:fix label name for kube_pod_nodeselectors 2022-06-09 13:58:01 +09:00
Kubernetes Prow Robot 1e782857c6
Merge pull request #1710 from hack-edu/master
feat: enable customresource metrics by configuration
2022-06-02 02:57:47 -07:00
Noah Perks Sloan e7725f9bdb docs: update arg 2022-06-01 20:35:21 -05:00
Noah Perks Sloan 2b77ed6be8 chore: docs formatting
is there a tool for this?
2022-06-01 11:03:56 -05:00
Noah Perks Sloan a9ec8a6209 fix: remove dots in flag names 2022-06-01 09:21:05 -05:00
Noah Perks Sloan fad7caf05f fix(docs): flag name 2022-06-01 09:18:52 -05:00
Noah Perks Sloan bc7cc9eac8 doc: crs flags 2022-06-01 09:18:07 -05:00
Noah Perks Sloan d0aa4a3bdd refactor: inline config as a flag
This is more flexible than the env variable, as a configuration can still set an env variable and use substitution in the args. e.g.,

```yaml
args:
 - --custom-resource-state.config
 - $(KSM_CUSTOM_RESOURCE_STATE_CONFIG)
env:
 ...
```
2022-06-01 09:12:48 -05:00
Noah Perks Sloan 39f7f0ce5a doc: don't abbreviate 2022-05-31 16:14:21 -05:00
Noah Perks Sloan 8c5d9797bf doc: note CR support is experimental 2022-05-31 16:12:07 -05:00
Noah Perks Sloan 4b704fd90e fix: use a flag for the configuration file 2022-05-31 16:11:49 -05:00
Noah Perks Sloan e0e4f14412 feat: enable customresource metrics by configuration
The main use case is just surfacing fields from custom resources without having to write a lot of code for each one.
2022-05-31 14:24:28 -05:00
Braxton Schafer 08ec940c28 Add kube_pod_ips gauge to pod metrics
Add experimental kube_pod_ips metric to show all IPs on a pod.
This is useful for dual-stack clusters where pods will have at least one
IPv4 and one IPv6 address. Current kube_pod_info metric only shows
the single IP exposed by .status.podIP.

Signed-off-by: Braxton Schafer <bschafer@cloudflare.com>
2022-05-31 11:42:56 -05:00
Aidan O'Gorman 04da1d8fa8 fixed .md formatting 2022-05-30 17:51:21 +01:00
Aidan O'Gorman b4b8df7134 Fixing unit test for PV and PVC 2022-05-29 11:42:13 +01:00
Aidan O'Gorman 859c8e903f Adding Unix creationTimestamp to PV/PVC metrics 2022-05-23 21:28:24 +01:00
Kubernetes Prow Robot c02c4cd32f
Merge pull request #1732 from X4BNet/feature/LastSuccessfulTime
Add missing LastSuccessfulTime metric
2022-05-16 04:18:17 -07:00
Mathew Heard 7f29e6c4eb Add missing LastSuccessfulTime metric 2022-05-16 18:38:41 +10:00
Luke Chui 821a034c25 fix formatting 2022-05-13 12:42:27 -07:00
Luke Chui a7a8043e1f add metric + docs + tests 2022-05-04 19:35:52 -07:00
Tanguy Falconnet 8e5d283d11 update(hpa): according to code review 2022-05-04 10:34:22 +02:00
Tanguy Falconnet 20084df76e chore(hpa): rename metric to match with k8s api 2022-04-29 15:28:07 +02:00
Tanguy Falconnet 3eb7aa4451 feat(hpa): status current target
Signed-off-by: Tanguy Falconnet <tfalconnet.externe@bedrockstreaming.com>
2022-04-29 12:23:41 +02:00
Kubernetes Prow Robot b4c34858cb
Merge pull request #1675 from geojaz/geojaz/add_kube_pod_nodeselector
Adds kube_pod_nodeselector metric
2022-03-01 01:07:51 -08:00
Lan Liang 5453753153 Upgrade doc for service metrics of add uid 2022-02-20 00:36:28 +08:00
Eric Hole 9a6fae5fc3 kube_pod_nodeselector -> kube_pod_nodeselectors 2022-02-07 11:02:39 -08:00
Eric Hole 2b085201e5 Adds opt-in metric info and builds out opt-in column in Pod 2022-02-07 10:21:14 -08:00
Eric Hole 90689ccff3 Change kube_pod_nodeselector to be opt-in 2022-02-07 09:13:20 -08:00
Eric Hole 6d1c11f148 Adds kube_pod_nodeselector metric 2022-02-04 15:01:02 -08:00
Alexey Miasoedov 5fa79e1e71
fix sample yaml 2022-01-10 12:37:46 +03:00
Adam Malcontenti-Wilson 8608588043 Add ingressclass to kube_ingress_info metric 2021-12-16 10:59:23 +11:00
Kubernetes Prow Robot e3056ae518
Merge pull request #1648 from Serializator/add-kube-horizontalpodautoscaler-info-metric
Add "kube_horizontalpodautoscaler_info" metric
2021-12-09 02:00:10 -08:00
Julian van den Berkmortel bb02daf5b4
Add the "kube_horizontalautoscaler_info" metric docs 2021-12-08 18:44:31 +01:00
Julian van den Berkmortel da04a73f68
Add the opt-in metric family filter to expose or not to a metric family from the store (#1574) 2021-12-01 22:08:52 +01:00
Constanti, Mario 27366d7893 endpoints: export information about ports
metric - introduce new kube_endpoint_ports metric:
* export all relevant port infomation (port name, port number and port protocol) from an endpoint

tests - make endpoint tests endpoint.spec aware:
* endpoint port struct with multiple ports need port names per port
* single port struct doesn't need a port name
* port protocol is per default TCP

Signed-off-by: Constanti, Mario <mario.constanti@daimler.com>
2021-11-09 06:53:03 +01:00
Arunprasad Rajkumar b5e78331cc
Implement kube_*_labels and kube_*_annotations metrics for pdb
This commit introduces kube_*_labels and kube_*_annotations metrics to
poddisruptionbudget to keep in consistency with other k8s objects.

Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-10-26 21:19:40 +05:30
Min Wang 1d0c17b80e
run make generate 2021-10-19 11:20:18 -07:00
Kubernetes Prow Robot 03e84f55d6
Merge pull request #1551 from dgrisonnet/revert-init-containers-requests
Revert init containers resource metrics rework
2021-09-30 06:06:08 -07:00
Gabi Davar 5016cca2de
add image_spec to pod (init)container info 2021-09-21 18:26:50 +03:00
Gabi Davar 443c91ae40
Expose configmap labels and annotations 2021-09-21 12:52:40 +03:00
Ids van der Molen b099ea66cd Document pod status reasons NodeAffinity and Shutdown 2021-09-15 12:53:23 +02:00
Damien Grisonnet 1352c476c7 pod: sync container resource metrics improvement
Init container resource metrics diverged from the container ones
although they should be similar.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 19:07:34 +02:00
Damien Grisonnet 3040c54b8b pod: rm reworked init container resource metrics
These metrics are superseded by the Pod resource metrics initiative in
Kubernetes. In 2.0.0, we removed the reworked container resource
metrics, but omitted the init container ones although they are also
covered by the Kubernetes effort.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 18:47:34 +02:00
Sylvain Rabot 0e45534441
Merge remote-tracking branch 'origin/master' into annotations 2021-08-19 16:31:20 +02:00
Lan Liang 78775b02eb rename use-api-server-cache to use-apiserver-cache in flags 2021-08-18 12:58:01 +08:00
Lan Liang 6f4fb874d2 Add doc for useAPIServerCache 2021-08-17 22:46:10 +08:00
Sylvain Rabot 81db7e0b78
Fix kube_horizontalpodautoscaler_annotations status
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
2021-08-16 13:45:51 +02:00
Sylvain Rabot 96d08df5d0
Merge remote-tracking branch 'origin/master' into annotations 2021-08-16 08:50:02 +02:00
Sylvain Rabot e3688234a3
Mark new annotations metrics as EXPERIMENTAL
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-08-15 18:11:36 +02:00
Kubernetes Prow Robot 17204a5f55
Merge pull request #1535 from sumitk23/master
Added additional attributes for Cronjob and Node entities : Fixes issue and #1509
2021-08-09 03:23:30 -07:00
Sumit e34921c653
Make new metrics experimental in docs 2021-08-09 10:20:59 +05:30
ravisantoshgudimetla a733640186 Introduce StatefulSet availableReplicas metric 2021-08-06 09:39:04 -04:00
Akshit Grover 405419106e
Update deployment ready replicas metric status
Change status for kube_deployment_status_replicas_ready to EXPERIMENTAL
2021-07-26 18:10:06 +05:30
Akshit Grover 8990d2e990 Add kube_deployment_status_replicas_ready in the docs
Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
2021-07-22 23:33:36 +05:30
Sumit 571258f18a
Merge branch 'kubernetes:master' into master 2021-07-22 10:45:38 +05:30
Sylvain Rabot c23771170a
Merge branch 'master' of https://github.com/kubernetes/kube-state-metrics into annotations 2021-07-13 17:16:29 +02:00
Manuel Rüger 6b2cba2e74 docs: Fix typo
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-07-13 17:01:00 +02:00
Sylvain Rabot 0e045365f4
Factorize some code
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-07-13 11:51:39 +02:00
Sylvain Rabot b60508b2cf
Move option in the cli arguments list
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-07-13 11:28:27 +02:00
Sylvain Rabot 754aeb786b
Merge remote-tracking branch 'origin/master' into annotations 2021-07-07 09:31:49 +02:00
sumikum3 f46fb4ecc6 Added missing cronjob and node atrributes : https://github.com/kubernetes/kube-state-metrics/issues/1509 2021-07-06 00:28:14 -07:00
hbc 54fa7eddef doc: update certificatesigningrequest metrics doc 2021-07-05 13:57:52 +00:00
Sylvain Rabot c1d3c87589
Fix documentation and tests
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-06-25 15:45:00 +02:00
Sylvain Rabot adcf2b42c5
Regenerate docs/cli-arguments.md
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-06-07 15:59:06 +02:00
Sylvain Rabot c0cb4755e5
Merge remote-tracking branch 'origin/master' into annotations 2021-06-07 15:34:15 +02:00
Kubernetes Prow Robot cbfc906951
Merge pull request #1492 from mrueg/merge-release-back
Merge release v2.1.0-rc.0 back to master
2021-06-02 00:00:38 -07:00
Ahmed Mezghani 1b06da07f4
Fix typo ephermal_storage -> ephemeral_storage
Fix a typo in the node metrics documentation.
2021-05-27 10:21:50 +02:00
Manuel Rüger b0813309c3 Cut v2.1.0-rc.0 2021-05-18 14:38:24 +02:00
Sylvain Rabot 65bc62af5c
Add kube_*_annotations metrics
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Pulak Kanti Bhowmick a85edd48ab Add resourceVersion to CronJob metrics
Signed-off-by: Pulak Kanti Bhowmick <pkbhowmick007@gmail.com>
2021-04-10 13:54:43 +06:00
Kubernetes Prow Robot ba36af0dae
Merge pull request #1403 from Mikulas/label-allow-list-any
Add wildcard option to metric-labels-allowlist
2021-04-09 01:40:47 -07:00
Elana Hashman 8fe4363806
Fix typo in pod-metrics docs 2021-04-08 17:14:00 -07:00
Mikulas (Mike) Dite 70d039b140 Add wildcard option to labels-metric-allow-list 2021-03-30 14:26:12 +01:00
Manuel Rüger de2bdebc67 Regenerate cli docs 2021-03-27 00:00:45 +01:00
Manuel Rüger 8160f327b0 Merge branch 'release-2.0' into merge-release-2.0 2021-03-26 23:54:14 +01:00
Manuel Rüger 2a7a96b659 Rename cli flag from label-metrics-allow-list to metric-labels-allowlist
This might be more clear on what the flag is doing. There were two ways
to spell allow-list / allowlist which it removes as well

Fixes: https://github.com/kubernetes/kube-state-metrics/issues/1421
2021-03-26 13:11:19 +01:00
Michael Dresser d352c37697 Fix docs README link to a nonexistent section
I assume deprecation information is supposed to be
contained in the relevant sub-documents for metric
categories.
2021-03-24 16:01:32 -04:00
Manuel Rüger 4ac23cc0f9 cli-arguments.md: Fix docs 2021-03-22 17:06:55 +01:00
Manuel Rüger cbce059ffc cli-arguments.md: Fix docs 2021-03-18 14:18:13 +01:00
DazWilkin d1acc1ae5c Document process for enabling Vertical Pod Autoscalers controller 2021-03-10 10:19:19 -08:00
Lili Cosic 81ca495c9e Merge remote-tracking branch 'upstream/release-2.0' into bring-release-2.0 2021-03-05 15:14:49 +01:00
Mikulas (Mike) Dite ffa4c7bf0e fix labels-metric-allow-list documentation
The parser defined in types.go does not expect quotes
https://github.com/kubernetes/kube-state-metrics/blob/master/pkg/options/types.go#L136-L140
https://github.com/kubernetes/kube-state-metrics/blob/master/pkg/options/types_test.go#L168
2021-03-03 11:07:09 +00:00
Lili Cosic c3121e74bf docs/pod-metrics.md: Adjust docs and stability 2021-02-24 17:00:27 +01:00
Lili Cosic 950a173907 docs/pod-metrics.md: Mark changed metrics as experimental 2021-02-09 15:51:55 +01:00
Lili Cosic 93aeadc048 docs/pod-metrics.md: Mark metrics as non stable
As with 2.0 we are breaking support for 1.x and previous stabilities.
In case we run into problems this gives us a chance to revert this.
2021-02-08 15:23:44 +01:00
Jeswin dc1e9186e0 docs: Added Description, Units for Services, Pods, Nodes as per 1356 2021-02-01 18:30:55 +05:30
Kubernetes Prow Robot b4fb3d474b
Merge pull request #1354 from mayankshah1607/mayank/native-tls
feat: Add support for native TLS
2021-01-24 23:48:53 -08:00
Mayank Shah ec2a3ff831 Add support for native TLS
- introduce new flag `tls-config` to pass the path to tls config file

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2021-01-25 13:03:05 +05:30
QuentinBisson 7c7175838e
feat(persistentvolume) Add Azure Disk Name to kube_persistentvolume_info 2021-01-19 14:37:27 +01:00
Frank Villaro-Dixon 4b7ce27e81 options: change default host from 0.0.0.0 to ::
This commit paves the way to plug-and-play IPv6-only or dual stack
clusters. Making the service listen on :: instead of 0.0.0.0 is a no-brainer
as it still supports v4-only clusters but makes it ready for v6 ones.

Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
2021-01-08 18:29:04 +01:00
Lili Cosic 18b81768d1 docs/cli-arguments.md: Update generated args 2020-12-17 14:10:50 +01:00
Illya Chekrygin 4090e8b7aa
Add "uid" label to every pod metric to differentiate between pod instances with the same name.
Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2020-11-20 12:26:18 -08:00