Skip to content

Commit f7ac762

Browse files
authored
Merge pull request #2492 from mrueg/k8s-1.31
chore: Bump to kubernetes 1.31.0
2 parents f50205a + f7ec4da commit f7ac762

File tree

8 files changed

+57
-50
lines changed

8 files changed

+57
-50
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Generally, it is recommended to use the latest release of kube-state-metrics. If
8484
| **v2.11.0** | v1.28 |
8585
| **v2.12.0** | v1.29 |
8686
| **v2.13.0** | v1.30 |
87-
| **main** | v1.30 |
87+
| **main** | v1.31 |
8888

8989
#### Resource group version compatibility
9090

data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ compat:
1616
- version: "v2.13.0"
1717
kubernetes: "1.30"
1818
- version: "main"
19-
kubernetes: "1.30"
19+
kubernetes: "1.31"

docs/metrics/cluster/node-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status |
44
| ---------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
55
| kube_node_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `node`=&lt;node-address&gt; <br> `annotation_NODE_ANNOTATION`=&lt;NODE_ANNOTATION&gt; | EXPERIMENTAL |
6-
| kube_node_info | Gauge | Information about a cluster node | | `node`=&lt;node-address&gt; <br> `kernel_version`=&lt;kernel-version&gt; <br> `os_image`=&lt;os-image-name&gt; <br> `container_runtime_version`=&lt;container-runtime-and-version-combination&gt; <br> `kubelet_version`=&lt;kubelet-version&gt; <br> `kubeproxy_version`=&lt;kubeproxy-version&gt; <br> `pod_cidr`=&lt;pod-cidr&gt; <br> `provider_id`=&lt;provider-id&gt; <br> `system_uuid`=&lt;system-uuid&gt; <br> `internal_ip`=&lt;internal-ip&gt; | STABLE |
6+
| kube_node_info | Gauge | Information about a cluster node | | `node`=&lt;node-address&gt; <br> `kernel_version`=&lt;kernel-version&gt; <br> `os_image`=&lt;os-image-name&gt; <br> `container_runtime_version`=&lt;container-runtime-and-version-combination&gt; <br> `kubelet_version`=&lt;kubelet-version&gt; <br> `kubeproxy_version`=&lt;deprecated&gt; <br> `pod_cidr`=&lt;pod-cidr&gt; <br> `provider_id`=&lt;provider-id&gt; <br> `system_uuid`=&lt;system-uuid&gt; <br> `internal_ip`=&lt;internal-ip&gt; | STABLE |
77
| kube_node_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `node`=&lt;node-address&gt; <br> `label_NODE_LABEL`=&lt;NODE_LABEL&gt; | STABLE |
88
| kube_node_role | Gauge | The role of a cluster node | | `node`=&lt;node-address&gt; <br> `role`=&lt;NODE_ROLE&gt; | EXPERIMENTAL |
99
| kube_node_spec_unschedulable | Gauge | Whether a node can schedule new pods | | `node`=&lt;node-address&gt; | STABLE |

go.mod

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/KimMachineGun/automemlimit v0.6.1
77
github.com/dgryski/go-jump v0.0.0-20211018200510-ba001c3ffce0
88
github.com/fsnotify/fsnotify v1.7.0
9-
github.com/go-logr/logr v1.4.1
9+
github.com/go-logr/logr v1.4.2
1010
github.com/gobuffalo/flect v1.0.3
1111
github.com/google/go-cmp v0.6.0
1212
github.com/oklog/run v1.1.0
@@ -19,13 +19,13 @@ require (
1919
github.com/spf13/viper v1.19.0
2020
github.com/stretchr/testify v1.9.0
2121
gopkg.in/yaml.v3 v3.0.1
22-
k8s.io/api v0.30.3
23-
k8s.io/apimachinery v0.30.3
24-
k8s.io/client-go v0.30.3
25-
k8s.io/component-base v0.30.3
22+
k8s.io/api v0.31.1
23+
k8s.io/apimachinery v0.31.1
24+
k8s.io/client-go v0.31.1
25+
k8s.io/component-base v0.31.1
2626
k8s.io/klog/v2 v2.130.1
27-
k8s.io/sample-controller v0.30.3
28-
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
27+
k8s.io/sample-controller v0.31.1
28+
k8s.io/utils v0.0.0-20240821151609-f90d01438635
2929
)
3030

3131
require (
@@ -38,16 +38,16 @@ require (
3838
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3939
github.com/docker/go-units v0.4.0 // indirect
4040
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
41-
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
41+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
4242
github.com/go-openapi/jsonpointer v0.19.6 // indirect
4343
github.com/go-openapi/jsonreference v0.20.2 // indirect
44-
github.com/go-openapi/swag v0.22.3 // indirect
44+
github.com/go-openapi/swag v0.22.4 // indirect
4545
github.com/godbus/dbus/v5 v5.0.4 // indirect
4646
github.com/gogo/protobuf v1.3.2 // indirect
4747
github.com/golang/protobuf v1.5.4 // indirect
4848
github.com/google/gnostic-models v0.6.8 // indirect
4949
github.com/google/gofuzz v1.2.0 // indirect
50-
github.com/google/uuid v1.4.0 // indirect
50+
github.com/google/uuid v1.6.0 // indirect
5151
github.com/hashicorp/hcl v1.0.0 // indirect
5252
github.com/imdario/mergo v0.3.6 // indirect
5353
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -78,6 +78,7 @@ require (
7878
github.com/spf13/cast v1.6.0 // indirect
7979
github.com/spf13/pflag v1.0.5 // indirect
8080
github.com/subosito/gotenv v1.6.0 // indirect
81+
github.com/x448/float16 v0.8.4 // indirect
8182
go.uber.org/multierr v1.11.0 // indirect
8283
golang.org/x/crypto v0.26.0 // indirect
8384
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
@@ -89,11 +90,12 @@ require (
8990
golang.org/x/text v0.17.0 // indirect
9091
golang.org/x/time v0.5.0 // indirect
9192
google.golang.org/protobuf v1.34.2 // indirect
93+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
9294
gopkg.in/inf.v0 v0.9.1 // indirect
9395
gopkg.in/ini.v1 v1.67.0 // indirect
9496
gopkg.in/yaml.v2 v2.4.0 // indirect
9597
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
9698
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
9799
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
98-
sigs.k8s.io/yaml v1.3.0 // indirect
100+
sigs.k8s.io/yaml v1.4.0 // indirect
99101
)

0 commit comments

Comments
 (0)