Skip to content

Commit ff281d2

Browse files
mauri870mrodm
andauthored
Upgrade k8s to v1.32.0 and kind to v0.27.0 (#2502)
* Upgrade k8s to v1.32.0 and kind to v0.27.0 * use dl.k8s.io for kubectl binary releases * bump ksm to v2.15.0 * Set the k8s node version using env var Setting the "--image" parameter is the same done in the integrations repository. * Update nginx image used in the statefulset --------- Co-authored-by: Mario Rodriguez Molins <mario.rodriguez@elastic.co>
1 parent 0cfe4b1 commit ff281d2

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.buildkite/pipeline.serverless.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ env:
33
SETUP_GVM_VERSION: 'v0.5.2' # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
44
DOCKER_COMPOSE_VERSION: "v2.24.1"
55
DOCKER_VERSION: "26.1.2"
6-
KIND_VERSION: 'v0.20.0'
7-
K8S_VERSION: 'v1.31.0'
6+
KIND_VERSION: 'v0.27.0'
7+
K8S_VERSION: 'v1.32.0'
88
GH_CLI_VERSION: "2.29.0"
99
YQ_VERSION: 'v4.44.3'
1010

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ env:
22
SETUP_GVM_VERSION: 'v0.5.2' # https://github.com/andrewkroh/gvm/issues/44#issuecomment-1013231151
33
DOCKER_COMPOSE_VERSION: "v2.24.1"
44
DOCKER_VERSION: "26.1.2"
5-
KIND_VERSION: 'v0.20.0'
6-
K8S_VERSION: 'v1.31.0'
5+
KIND_VERSION: 'v0.27.0'
6+
K8S_VERSION: 'v1.32.0'
77
YQ_VERSION: 'v4.44.3'
88

99
# Agent images used in pipeline steps

.buildkite/scripts/install_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ with_kubernetes() {
9999
kind version
100100
which kind
101101

102-
retry 5 curl -sSLo "${WORKSPACE}/bin/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/${platform_type_lowercase}/${arch_type}/kubectl"
102+
retry 5 curl -sSLo "${WORKSPACE}/bin/kubectl" "https://dl.k8s.io/release/${K8S_VERSION}/bin/${platform_type_lowercase}/${arch_type}/kubectl"
103103
chmod +x "${WORKSPACE}/bin/kubectl"
104104
kubectl version --client
105105
which kubectl

scripts/test-check-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fi
9090

9191
if [ "${PACKAGE_TEST_TYPE:-other}" == "with-kind" ]; then
9292
# Boot up the kind cluster
93-
kind create cluster --config "$PWD/scripts/kind-config.yaml"
93+
kind create cluster --config "$PWD/scripts/kind-config.yaml" --image "kindest/node:${K8S_VERSION}"
9494
fi
9595

9696
# Run package tests

test/packages/with-kind/kubernetes/_dev/deploy/k8s/ss.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
terminationGracePeriodSeconds: 10
1717
containers:
1818
- name: nginx
19-
image: k8s.gcr.io/nginx-slim:0.8
19+
image: docker.io/nginx:1.24.0-alpine-slim
2020
ports:
2121
- containerPort: 80
2222
name: web

test/packages/with-kind/kubernetes/data_stream/state_cronjob/_dev/deploy/k8s/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
spec:
2222
automountServiceAccountToken: true
2323
containers:
24-
- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.7.0
24+
- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.15.0
2525
livenessProbe:
2626
httpGet:
2727
path: /healthz

0 commit comments

Comments
 (0)