opeco17
6de105ebbe
feat: disable labels and annotations metrics when metric-annotations-allowlist and metric-labels-allowlist are not provided
2023-08-14 14:38:23 +00:00
JoaoBraveCoding
8f27e70760
autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+
...
Issue: https://github.com/kubernetes/kube-state-metrics/issues/1711
Problem: kube-state-metrics supports up to (latest k8s release - 3) k8s
version. Since v1.25 has been release we can update it to start using
autoscaler/v2.
Solution: update packages to start using autoscaler/v2
Signed-off-by: JoaoBraveCoding <jmarcal@redhat.com>
2022-11-24 11:30:20 +00:00
Kubernetes Prow Robot
086a6fd2b2
Merge pull request #1831 from whitebear009/hpa
...
add ContainerResourceSourceType for hpa metrics
2022-11-03 07:19:36 -07:00
Catherine Fang
5995c1e2cf
Add all stable metrics
2022-10-14 08:25:39 -04:00
whitebear009
386eafd05f
add ContainerResourceSourceType for hpa metrics and reduce cyclomatic complexity
2022-09-19 11:36:42 +08: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
b26d66357a
fix(test/hpa): values & labels wanted
2022-04-29 12:34:42 +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
whitebear009
eece675df0
fix typo and add unit test for float target metric
2022-02-16 22:49:19 +08:00
whitebear009
2f5b0f0ff3
filter unset field and add unit test
2022-02-16 18:55:40 +08:00
Julian van den Berkmortel
0629d82d07
Add the "kube_horizontalpodautoscaler_info" metric to the tests
2021-12-08 18:44:29 +01:00
Gabi Davar
6512e2ce27
fixed four resources with copy/paste issues
...
Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
2021-09-20 18:18:33 +03:00
Philip Gough
69f1af4834
internal: Migrate HPA API version to autoscaling/v2beta2
...
autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+ and becomes
unavailable in v1.25+
This change updates the client to use autoscaling/v2beta2
Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
2021-08-31 13:01:23 +01:00
Sylvain Rabot
65bc62af5c
Add kube_*_annotations metrics
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Lili Cosic
0b76e7d4f4
internal/store: Rework label allow list for label metrics
2020-11-20 15:31:35 +01:00
Quentin Bisson
7250bc2b5c
Update go module path to k8s.io/kube-state-metrics/v2
...
Signed-off-by: Quentin Bisson <quentin@giantswarm.io>
2020-09-21 10:58:08 +02:00
Thibault Le Reste
eb01334f2d
Rename hpa metrics to use full horizontalpodautoscaler nomenclature
2020-02-04 16:42:47 +01:00