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
Kubernetes Prow Robot
8024d3e040
Merge pull request #1760 from jumbosushi/fix-node-docs
...
Update kube_node_status_allocatable unit doc
2022-06-19 22:44:05 -07:00
Atsushi Yamamoto
3b93153364
Update kube_node_status_allocatable unit doc
2022-06-16 17:26:33 -07:00
Kubernetes Prow Robot
aa8729abea
Merge pull request #1754 from chrischdi/pr-customresource-underscore-fix
...
fix customresourcestate metric names to not contain underscores
2022-06-09 04:17:42 -07:00
Kubernetes Prow Robot
379b60abd9
Merge pull request #1756 from yosshi825/docs/kube-pod-nodeselectors
...
docs:fix label name for kube_pod_nodeselectors
2022-06-08 23:49:42 -07:00
yosshi825
cc322b7240
docs:fix label name for kube_pod_nodeselectors
2022-06-09 13:58:01 +09:00
Christian Schlotter
138e1e65bc
fix customresourcestate metric names to not contain underscores
2022-06-08 21:48:13 +02:00
Kubernetes Prow Robot
e3bc8c22c2
Merge pull request #1750 from mrueg/registry.k8s.io
...
Switch registry from k8s.gcr.io to registry.k8s.io
2022-06-07 05:31:49 -07:00
Manuel Rüger
de1902391c
Switch registry from k8s.gcr.io to registry.k8s.io
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-06-07 13:48:26 +02:00
Kubernetes Prow Robot
7f09ca71ba
Merge pull request #1747 from kubernetes/release-2.5
...
Merge Release 2.5 back to master
2022-06-03 04:54:20 -07:00
Kubernetes Prow Robot
66ce101f5e
Merge pull request #1748 from mrueg/update-release-instruction
...
Update release instructions
2022-06-03 04:40:19 -07:00
Manuel Rüger
26c286c17c
Update release instructions
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-06-03 13:28:21 +02:00
Kubernetes Prow Robot
0567e1e1b9
Merge pull request #1746 from mrueg/prep-2.5.0
...
*: Cut 2.5.0 release
2022-06-03 03:14:20 -07:00
Manuel Rüger
53913691b4
*: Cut 2.5.0 release
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-06-02 22:53:36 +02:00
Kubernetes Prow Robot
d6666ee631
Merge pull request #1745 from mrueg/go-1.18.3
...
Version bump Go to 1.18.3
2022-06-02 07:07:47 -07:00
Manuel Rüger
824fb1cde7
Version bump Go to 1.18.3
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-06-02 12:16:21 +02: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
99d86bb5a5
another exp note
...
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2022-06-01 20:33:43 -05:00
Noah Perks Sloan
fdd09314c8
fix: inconsistent test result by sorting
2022-06-01 13:51:39 -05:00
Noah Perks Sloan
2b77ed6be8
chore: docs formatting
...
is there a tool for this?
2022-06-01 11:03:56 -05:00
noah
6ec0332bd5
note experimental status
...
Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2022-06-01 10:11:27 -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
Kubernetes Prow Robot
0c6afa9ea3
Merge pull request #1740 from bjschafer/add-pod-ips
...
Add kube_pod_ips gauge to pod metrics
2022-05-31 22:19:01 -07: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
ea795572d8
chore: goimports
2022-05-31 14:28:29 -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
5d57f47658
skip invalid IPs on pod_ips metric
2022-05-31 11:44:17 -05:00
Braxton Schafer
f6be9edd01
fix failing lint checks
2022-05-31 11:42:59 -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
Kubernetes Prow Robot
7e28ed2722
Merge pull request #1741 from aidan-ogorman-dev/pvc-pv-creation-timestamp
...
Adding Unix creationTimestamp to PV/PVC metrics
2022-05-30 23:50:52 -07:00
Aidan O'Gorman
04da1d8fa8
fixed .md formatting
2022-05-30 17:51:21 +01:00
Kubernetes Prow Robot
d04c7d13aa
Merge pull request #1734 from honpey/panic-fix
...
internal/store: fix metrics slice length for init containers
2022-05-30 00:42:52 -07:00
honpey
9f3e368490
internal/store: fix metrics slice length for init containers
...
In https://github.com/kubernetes/kube-state-metrics/pull/1731 ,
the dynamic slice was introduced to fix potential panic under
Spec.Containers scenario, however there may be same panic for
Spec.InitContainers scenario.
This patch fix it referring to https://github.com/kubernetes/kube-state-metrics/pull/1731
Signed-off-by: honpey <honpey@gmail.com>
2022-05-30 15:36:09 +08:00
Kubernetes Prow Robot
07c8a22490
Merge pull request #1743 from mrueg/bump-0522
...
Bump to go 1.18.2, k8s 1.24, kind 0.14.0, prometheus 2.35.0
2022-05-30 00:14:51 -07:00
Aidan O'Gorman
f553236fd0
revert change to example standard deployment
2022-05-29 14:07:26 +01:00
Aidan O'Gorman
b4b8df7134
Fixing unit test for PV and PVC
2022-05-29 11:42:13 +01:00
Manuel Rüger
42cd98e44a
Bump to go 1.18.2, k8s 1.24, kind 0.14.0, prometheus 2.35.0
...
and several other go deps
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-05-26 20:09:21 +02:00
Kubernetes Prow Robot
ecf650fa3c
Merge pull request #1742 from mrueg/golangci-1.46.2
...
.github/workflows: Update golangci-lint to v1.46.2
2022-05-24 22:58:43 -07:00
Manuel Rüger
3f1a96a368
.github/workflows: Update golangci-lint to v1.46.2
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-05-25 00:19:54 +02:00
Aidan O'Gorman
1362519c92
Fix ups to unit tests
2022-05-24 09:50:21 +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
Kubernetes Prow Robot
5aee2c24d1
Merge pull request #1727 from luke-sprig/feat/expose-csi-pv-metric
...
feat: Add CSI support to PV Metrics
2022-05-16 02:16:18 -07:00
Mathew Heard
7f29e6c4eb
Add missing LastSuccessfulTime metric
2022-05-16 18:38:41 +10:00