Manuel Rüger
cef8c1fa4c
feat!: Remove VerticalPodAutoscaler
...
BREAKING CHANGE: VPA is now supported only via Custom Resource Metrics
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2023-03-16 14:37:44 +01:00
Kubernetes Prow Robot
b11ec2b306
Merge pull request #2018 from arturhoo/patch-1
...
Improve wording for Prometheus rule example in pod-metrics
2023-03-16 02:01:18 -07:00
Peter Schuurman
39c66ee248
Add gauge implementation of kube_statefulset_ordinals_start
2023-03-13 12:11:51 -07:00
Peter Schuurman
686f858370
Add StatefulSet Start Ordinal metrics for KEP-3335
2023-03-13 12:11:51 -07:00
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
Manuel Rüger
d799f4038b
feat(customresourcestate): Support percentages
2023-03-01 19:14:09 +01:00
Manuel Rüger
26950a49fc
feat(CustomResourceState): Support quantities
2023-03-01 19:13:00 +01:00
Manuel Rüger
8e3adcdb6e
Update docs/customresourcestate-metrics.md
2023-02-09 13:40:53 +01:00
Manuel Rüger
a244030394
Update docs/customresourcestate-metrics.md
2023-02-09 12:50:48 +01:00
jabdoa2
24e2665a0b
Improve formating
2023-01-27 16:06:06 +01:00
jabdoa2
c0bd852949
Document how gauges convert types to float
2023-01-27 16:02:54 +01:00
Kubernetes Prow Robot
bc7b5b6cf8
Merge pull request #1956 from bjorand/version_flag
...
remove broken --version flag, replace by version command
2023-01-24 01:52:17 -08:00
Benjamin Jorand
57a196b56c
update doc
2023-01-23 13:51:29 +01:00
Kubernetes Prow Robot
1cda0bf92e
Merge pull request #1938 from ryanrolds/rolds/pod_ready_time
...
Add metrics of kube_pod_status_ready_time and kube_pod_status_containers_ready_time redux
2023-01-19 05:28:35 -08:00
Kubernetes Prow Robot
b7a7070e87
Merge pull request #1942 from bavarianbidi/prefix_gvk_labels_in_customresourcemonitoring
...
prefix GVK labels in CustomResourceMonitoring
2023-01-12 00:58:54 -08: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
Kubernetes Prow Robot
559bb28d6f
Merge pull request #1932 from frezes/feat/addPodStatusQosClass
...
Add kube_pod_status_qos_class gauge to pod metrics
2023-01-10 11:53:26 -08:00
Mario Constanti
488c0bcf59
update crd monitoring and mention new flags
2023-01-10 13:51:04 +01:00
Mario Constanti
771f85c457
fix vpa crd metric names
2023-01-10 13:50:43 +01:00
Mario Constanti
b410166471
replace kube_crd with kube_customresource in docs
...
Signed-off-by: Mario Constanti <mario@constanti.de>
2023-01-10 13:31:51 +01:00
Mario Constanti
7130bd0d2b
prefix GVK labels in CustomResourceMonitoring
...
This will prefix the auto-generated GVK labels for CustomResources with
customresource_ to make it a bit more clear that these labels got generated.
Signed-off-by: Mario Constanti <mario@constanti.de>
2023-01-09 15:07:37 +01:00
Grzegorz Głąb
3ca8765a38
docs: Fix typo in kube_node_deletion_timestamp description
...
Signed-off-by: Grzegorz Głąb <grzesuav@gmail.com>
2023-01-03 18:42:43 +01: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
CatherineF-dev
022fce9d9b
Update docs/developer/guide.md
...
Co-authored-by: Pranshu Srivastava <prasriva@redhat.com>
2022-12-21 09:34:40 -05:00
Catherine Fang
62f3fc2983
Add develop doc on adding new metrics
2022-12-20 13:17:54 -05: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
Manuel Rüger
01062d5186
Rename references from master to main branch
2022-12-11 19:13:31 +01:00
Paweł Kubica
0553bf45a9
Replace special string "<none>" with empty string for "storageclass" dimension.
...
Returning empty string instead of special string "<none>" for "storageclass" dimensions of "kube_persistentvolumeclaim_info" metric.
2022-12-03 15:20:08 +01:00
Manuel Rüger
b4b8c23b97
Add Metrics for EndpointSlices
...
Implements https://pkg.go.dev/k8s.io/api/discovery/v1#EndpointSlice
This resourcetype is disabled by default as they are very verbose and
have a high cardinality.
Metrics from endpointslices can be used to identify if specific pods are
part of an endpoint and thus discoverable through a service.
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-11-26 01:44:29 +01:00
Kaito Ii
07af191fe5
add stability experimental
2022-11-24 00:54:58 +09:00
Kaito Ii
4abefe268a
add ingress class metrics
2022-11-23 23:16:36 +09:00
Kubernetes Prow Robot
3be79d55ec
Merge pull request #1894 from exitflynn/master
...
update kube_node_status_{capacity/allocatable} doc to clarify difference
2022-11-21 07:44:31 -08:00
Pranshu Srivastava
f8360a8903
Add end-to-end testing to verify hot-reloading
...
Add end-to-end testing to verify hot-reloading for event-based changes
stemming from the config file. Also,
* sent in a doc fix that was missed
earlier:
https://github.com/kubernetes/kube-state-metrics/pull/1890/files#diff-380eca5a922c0ddbf67f04daefc6823e7ef0e197434d3a826d39c7063cdfa6d6R15 ,
* updated fsnotify and viper dependencies (v1.6.0 and v1.14.0
respectively).
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-16 20:26:22 +05:30
Pranshu Srivastava
9860f46776
Implement hot-reloading based on config changes
...
Reload KSM on-the-fly when a change is detected in the configuration.
Meta changes (will squash)
2022-11-16 20:26:12 +05:30
Kubernetes Prow Robot
53a0dc6c1c
Merge pull request #1890 from rexagod/1889
...
Add node deletionTimestamp metric
2022-11-15 22:44:47 -08:00
Pranshu Srivastava
ed551af5b5
Add node deletionTimestamp metric
...
Adds deletionTimestamp metric, for nodes.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
2022-11-16 11:49:10 +05:30
Kubernetes Prow Robot
b2c90e86b6
Merge pull request #1880 from rexagod/1871-1868
...
Allow labelFromKey field for all applicable types
2022-11-14 11:10:41 -08:00
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