Commit Graph

64 Commits

Author SHA1 Message Date
Artur Rodrigues a1a9eda1c8
Clarify pod status in useful queries
Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net>
2023-03-13 12:29:07 +00:00
Ryan R. Olds 59b1728783 Merge branch 'main' into rolds/pod_ready_time 2023-01-10 16:26:17 -08:00
Ryan R. Olds dd7202bdc2 Fixing bad merge in rebase 2023-01-10 16:13:18 -08:00
Lan Liang 4d8c58ad00 Support pod_ready_time and pod_container_ready_time
Co-authored-by: Szymon Grzemski <sz.grzemski@gmail.com>
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2023-01-10 16:04:03 -08:00
frezes c3004c6145 Change kube_pod_status_qos_class to experimental metric
Signed-off-by: frezes <zhangjunhao@kubesphere.io>
2023-01-03 14:25:39 +08:00
frezes 288718a71f Add kube_pod_status_qos_class gauge to pod metrics
Signed-off-by: frezes <zhangjunhao@kubesphere.io>
2022-12-12 17:38:37 +08:00
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
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
Julian van den Berkmortel a0980c87d1
Add metric for pod tolerations (Ref: #1744) 2022-06-29 17:56:52 +02:00
yosshi825 cc322b7240 docs:fix label name for kube_pod_nodeselectors 2022-06-09 13:58:01 +09: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
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
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
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 e3688234a3
Mark new annotations metrics as EXPERIMENTAL
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-08-15 18:11:36 +02: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 65bc62af5c
Add kube_*_annotations metrics
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Elana Hashman 8fe4363806
Fix typo in pod-metrics docs 2021-04-08 17:14:00 -07: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
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
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
Jimmy K Seto 122f2075c7 fix container resource limits metrics, which got dropped btwn 2.0.0-alpha.1 and 2.0.0-alpha.2 2020-11-03 11:42:57 -05:00
Jimmy K Seto 9078a53265 fix container resource limits metrics, which got dropped btwn 2.0.0-alpha.1 and 2.0.0-alpha.2 2020-11-02 14:48:04 -05:00
Jang Dong Min 0253dae293
fix pod-metrics.md 2020-10-28 11:29:50 +09:00
Eric Ernst 0cb814f725 pod: add gauge for runtimeclass handler
Add a metric gauge to provide observability for the runtimeclass
used for running a pod.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-10-26 08:03:31 -07:00
Lili Cosic 2c65e6f77a docs/pod-metrics.md: Adjust docs 2020-10-26 14:46:28 +01:00
vikkyomkar 4c55d50e68 added new metric kube_pod_container_state_started 2020-07-26 11:34:40 +05:30
Frederic Branczyk cd42164e42
internal/store: Add named resource pod overhead metrics
This patch turns the generic pod overhead metrics into one metric per
resource as per Prometheus best practices.
2020-07-16 10:34:52 +02:00
Frederic Branczyk 93022751e7
docs/pod-metrics.md: Mark all resource metrics experimental 2020-07-16 09:24:25 +02:00
Frederic Branczyk 418f7041b8
docs: Adapt pod metrics docs 2020-07-15 16:02:10 +02:00
qw1mb0 bdb2e9284e add UnexpectedAdmissionError to kube_pod_status_reason metric 2020-05-16 21:19:25 +03:00
Frederic Branczyk 3df53e5164
docs: Add init container resource request docs 2020-04-15 22:03:28 +02:00
Rustam Zagirov b61a3b320a add host_network to kube_pod_info 2020-03-18 21:23:37 +03:00
Kubernetes Prow Robot 9230c40ff0
Merge pull request #1082 from olivierlemasle/fix-1078
[e2e] Check labels documentation
2020-03-09 16:25:36 -07:00
Olivier Lemasle 0387ebbb45 Fix metrics & labels documentation 2020-02-27 20:37:53 +01:00
Olivier Lemasle 6fac7a2ddd Rename kube_pod_deleted to kube_pod_deletion_timestamp 2020-02-24 11:32:59 +01:00
Olivier Lemasle 025d449da5 Fix example PromQL queries related to Pod status 2020-02-21 14:26:23 +01:00
Olivier Lemasle 3a2d895d49 Fix typos 2020-02-17 20:43:20 +01:00