Commit Graph

193 Commits

Author SHA1 Message Date
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