Skip to content

Commit 47fa016

Browse files
Update supported Kubernetes versions to 1.32, 1.33, 1.34 (#4320)
* Update supported Kubernetes versions to 1.32, 1.33, 1.34 * Update gameservertest file
1 parent 9757f2c commit 47fa016

File tree

736 files changed

+60133
-14369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

736 files changed

+60133
-14369
lines changed

.github/ISSUE_TEMPLATE/kubernetes_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ List of items to do for upgrading to {version_1} {version_2} {version_3}
3535
- [ ] Kind in `build/includes/kind.mk` (Confirm {version_2} is supported and get the patch version
3636
[here](https://github.com/kubernetes-sigs/kind/releases))
3737
- [ ] Update the k8s image used in the helm [pre-delete-hook](https://github.com/googleforgames/agones/blob/main/install/helm/agones/templates/hooks/pre_delete_hook.yaml)
38-
to {version_2} (Get the patch version [here](https://hub.docker.com/r/bitnami/kubectl))
38+
to {version_2} (Get the patch version [here](https://hub.docker.com/r/alpine/kubectl))
3939
- [ ] Update client-go in `go.mod` to {version_2} by running `go get k8s.io/client-go@{CORRESPONDING_VERSION}`
4040
and `go get k8s.io/apiextensions-apiserver@{CORRESPONDING_VERSION}`, then re-run `go mod tidy`
4141
and `go mod vendor`

build/build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN go install golang.org/x/tools/cmd/goimports@latest && \
5050
go install golang.org/x/pkgsite/cmd/pkgsite@latest
5151

5252
# the kubernetes version for the file
53-
ENV KUBERNETES_VER 1.32.5
53+
ENV KUBERNETES_VER 1.33.5
5454

5555
# overwrite kubectl as we want a specific version
5656
RUN curl -LO https://dl.k8s.io/release/v${KUBERNETES_VER}/bin/linux/amd64/kubectl && \

build/e2e-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
1515
ENV PATH /usr/local/go/bin:/go/bin:$PATH
1616

1717
# install kubectl without gcloud as we want the last version
18-
ENV KUBECTL_VER 1.32.5
18+
ENV KUBECTL_VER 1.33.5
1919
RUN curl -LO https://dl.k8s.io/release/v${KUBECTL_VER}/bin/linux/amd64/kubectl && \
2020
chmod go+rx ./kubectl && \
2121
mv ./kubectl /usr/local/bin/kubectl

build/includes/kind.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ kind-test-cluster: DOCKER_RUN_ARGS+=--network=host
2626
kind-test-cluster: $(ensure-build-image)
2727
@if [ -z $$(kind get clusters | grep $(KIND_PROFILE)) ]; then\
2828
echo "Could not find $(KIND_PROFILE) cluster. Creating...";\
29-
kind create cluster --name $(KIND_PROFILE) --image kindest/node:v1.32.5 --wait 5m;\
29+
kind create cluster --name $(KIND_PROFILE) --image kindest/node:v1.33.5 --wait 5m;\
3030
fi
3131

3232
# deletes the kind agones cluster

build/includes/minikube.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ minikube_cert_mount := ~/.minikube:$(HOME)/.minikube
2828
# of the right version.
2929
minikube-test-cluster: DOCKER_RUN_ARGS+=--network=host -v $(minikube_cert_mount)
3030
minikube-test-cluster: $(ensure-build-image)
31-
$(MINIKUBE) start --kubernetes-version v1.32.5 -p $(MINIKUBE_PROFILE) --driver $(MINIKUBE_DRIVER)
31+
$(MINIKUBE) start --kubernetes-version v1.33.5 -p $(MINIKUBE_PROFILE) --driver $(MINIKUBE_DRIVER)
3232

3333
# Connecting to minikube requires so enhanced permissions, so use this target
3434
# instead of `make shell` to start an interactive shell for development on minikube.

build/includes/sdk.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# \__, |_| \_\_| \____| |_|\___/ \___/|_|_|_| |_|\__, |
2121
# |___/ |___/
2222

23-
grpc_release_tag = v1.72.0
23+
grpc_release_tag = v1.76.0
2424

2525
build_sdk_base_version = $(call sha,$(build_path)/build-sdk-images/tool/base/Dockerfile)_$(grpc_release_tag)
2626
build_sdk_base_tag = agones-build-sdk-base:$(build_sdk_base_version)

build/terraform/e2e/module.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ variable "kubernetes_versions" {
4141
"1.31" = ["us-east1", "RAPID"]
4242
"1.32" = ["us-west1", "RAPID"]
4343
"1.33" = ["asia-east1", "RAPID"]
44-
45-
# "1.34" = ["europe-west1", "RAPID"]
44+
"1.34" = ["europe-west1", "RAPID"]
45+
// "1.35" = ["us-east1", "RAPID"]
4646
//
4747
// Before merge: When adding Kubernetes version 1.{N}, first uncomment the line above, extending
4848
// the infrastructure to 4 versions temporarily. Come back to these instructions after the

build/terraform/upgrade/module.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ variable "kubernetes_versions" {
4141
"1.31" = ["us-east1", "RAPID"]
4242
"1.32" = ["us-west1", "RAPID"]
4343
"1.33" = ["us-central1", "RAPID"]
44-
// "1.34" = ["us-east1", "RAPID"]
44+
"1.34" = ["us-east1", "RAPID"]
45+
//"1.35" = ["us-west1", "RAPID"]
4546
//
4647
// Before merge: When adding Kubernetes version 1.{N}, first uncomment the line above. Come back
4748
// to these instructions after the update PR merges.

cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,15 @@ steps:
304304
set -o pipefail
305305
pids=()
306306
cloudProducts=("generic" "gke-autopilot")
307-
declare -A versionsAndRegions=( [1.31]=us-east1 [1.32]=us-west1 [1.33]=asia-east1 )
307+
declare -A versionsAndRegions=( [1.32]=us-west1 [1.33]=asia-east1 [1.34]=europe-west1 )
308308
309309
# Keep in sync with the inverse of 'alpha' and 'beta' features in
310310
# pkg/util/runtime/features.go:featureDefaults
311311
featureWithGate="PlayerAllocationFilter=true&FleetAutoscaleRequestMetaData=true&PlayerTracking=true&CountsAndLists=false&RollingUpdateFix=false&PortRanges=false&PortPolicyNone=false&ScheduledAutoscaler=false&AutopilotPassthroughPort=false&GKEAutopilotExtendedDurationPods=false&SidecarContainers=true&WasmAutoscaler=true&Example=true"
312312
featureWithoutGate=""
313313
314314
# Use this if specific feature gates can only be supported on specific Kubernetes versions.
315-
declare -A featureWithGateByVersion=( [1.31]="${featureWithGate}" [1.32]="${featureWithGate}" [1.33]="${featureWithGate}")
315+
declare -A featureWithGateByVersion=( [1.32]="${featureWithGate}" [1.33]="${featureWithGate}" [1.34]="${featureWithGate}")
316316
317317
for cloudProduct in ${cloudProducts[@]}
318318
do

examples/cpp-simple/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \
2222
WORKDIR /project
2323

2424
# Install gRPC and dependencies
25-
RUN git clone --recurse-submodules -b v1.72.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc /var/local/git/grpc && \
25+
RUN git clone --recurse-submodules -b v1.76.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc /var/local/git/grpc && \
2626
cd /var/local/git/grpc && \
2727
mkdir -p cmake/build && \
2828
cd cmake/build && \

0 commit comments

Comments
 (0)