Skip to content

Commit

Permalink
Add support for kubernetes version 1.31.0 (#40856) (#41050)
Browse files Browse the repository at this point in the history
* Add support for kubernetes version 1.31.0

* remove v1.27 from Jenkinsfile

* copy metrics.1.31 from metrics.1.30

* update buildkite pipeline

* add test metrics for controllermanager

* add test metrics for scheduler

* remove 1.27 metric test files

* update k8s versions

(cherry picked from commit 23f8564)

Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
  • Loading branch information
mergify[bot] and mauri870 authored Oct 1, 2024
1 parent 35f7b8e commit ffd7f25
Show file tree
Hide file tree
Showing 14 changed files with 4,733 additions and 3,872 deletions.
32 changes: 16 additions & 16 deletions .buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ steps:
- github_commit_status:
context: "deploy/k8s checks"

- label: "K8S Test/K8S version: v1.30.2"
key: "k8s-test-130"
- label: "K8S Test/K8S version: v1.31.0"
key: "k8s-test-131"
env:
K8S_VERSION: "v1.30.2"
K8S_VERSION: "v1.31.0"
MODULE: "${MODULE}"
commands: |
set -euo pipefail
Expand All @@ -59,12 +59,12 @@ steps:
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "deploy/k8s test v1.30.2"
context: "deploy/k8s test v1.31.0"

- label: "K8S Test/K8S version: v1.29.4"
key: "k8s-test-129"
- label: "K8S Test/K8S version: v1.30.4"
key: "k8s-test-130"
env:
K8S_VERSION: "v1.29.4"
K8S_VERSION: "v1.30.4"
MODULE: "${MODULE}"
commands: |
set -euo pipefail
Expand All @@ -81,12 +81,12 @@ steps:
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "deploy/k8s test v1.29.4"
context: "deploy/k8s test v1.30.4"

- label: "K8S Test/K8S version: v1.28.9"
key: "k8s-test-128"
- label: "K8S Test/K8S version: v1.29.8"
key: "k8s-test-129"
env:
K8S_VERSION: "v1.28.9"
K8S_VERSION: "v1.29.8"
MODULE: "${MODULE}"
commands: |
set -euo pipefail
Expand All @@ -103,12 +103,12 @@ steps:
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "deploy/k8s test v1.28.9"
context: "deploy/k8s test v1.29.8"

- label: "K8S Test/K8S version: v1.27.13"
key: "k8s-test-127"
- label: "K8S Test/K8S version: v1.28.13"
key: "k8s-test-128"
env:
K8S_VERSION: "v1.27.13"
K8S_VERSION: "v1.28.13"
MODULE: "${MODULE}"
commands: |
set -euo pipefail
Expand All @@ -125,4 +125,4 @@ steps:
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "deploy/k8s test v1.27.13"
context: "deploy/k8s test v1.28.13"
2 changes: 1 addition & 1 deletion deploy/kubernetes/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ stages:
make check-no-changes;
stage: checks
k8sTest:
k8sTest: "v1.30.0,v1.29.4,v1.28.9,v1.27.13"
k8sTest: "v1.31.0,v1.30.4,v1.29.8,v1.28.13"
stage: mandatory
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/kubernetes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ roleRef:
=== Compatibility

The Kubernetes module is tested with the following versions of Kubernetes:
1.27.x, 1.28.x, 1.29.x and 1.30.x
1.28.x, 1.29.x, 1.30.x and 1.31.x

[float]
=== Dashboard
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ roleRef:
=== Compatibility

The Kubernetes module is tested with the following versions of Kubernetes:
1.27.x, 1.28.x, 1.29.x and 1.30.x
1.28.x, 1.29.x, 1.30.x and 1.31.x

[float]
=== Dashboard
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit ffd7f25

Please sign in to comment.