name | about | title | labels | assignees |
---|---|---|---|---|
Upgrade Supported Kubernetes Versions |
Issue for updating the supported Kubernetes versions. |
Update Supported Kubernetes to {version_1} {version_2} {version_3} |
kind/operations, kind/breaking |
Agones supports and is tested against 3 releases of Kubernetes, targeting the newest version as being the default version in the GKE Rapid channel. The vendored version of client-go will be aligned with the middle of the three supported Kubernetes versions ({version_2}). All the example clusters will use the middle of the three supported Kubernetes versions ({version_2}).
List of items to do for upgrading to {version_1} {version_2} {version_3}
install/terraform/modules
gke
and gke-autopilot
) to {version_2}build/build-image/Dockerfile
build/e2e-image/Dockerfile
test/upgrade/Dockerfile
go.mod
to {version_2} by running go get k8s.io/client-go@{CORRESPONDING_VERSION}
and go get k8s.io/apiextensions-apiserver@{CORRESPONDING_VERSION}
, then re-run go mod tidy
and go mod vendor
site/assets/templates/crd-doc-config.json
make gen-api-docs
make gen-crd-code
make gcloud-test-cluster
(this cluster will use Kubernetes
{version_2}), uninstall agones using helm uninstall agones -n agones-system
, and then run
make gen-embedded-openapi
and make gen-install
site/config.toml
dev_supported_k8s
, which are {version_1} {version_2} {version_3}dev_k8s_api_version
, which is {version_2}dev_gke_example_cluster_version
, which is {version_2}dev_aks_example_cluster_version
, which is the newest AKS supported version in
{version_1} {version_2} {version_3}dev_eks_example_cluster_version
, which is the newest EKS supported version in
{version_1} {version_2} {version_3}dev_minikube_example_cluster_version
, which is {version_2} with the supported patch versiongrpc_release_tag
in the SDK base image grpc version.cpp-simple
image.
cpp-simple
example images tag. At build
directory, run:
make bump-image IMAGENAME=cpp-simple-server VERSION=<current-image-version>
cpp-simple
example images:
examples/cpp-simple
, run: make cloud-build
build/terraform/e2e/module.tf
, add the new supported version to the map
kubernetes_versions
following the instructions in the comment. We maintain sufficient
quota for CPUs
and In-use Addresses
in us-east1
, us-west1
, europe-west1
, and
asia-east1
, but we only have capacity for one version per region - follow the
instructions to rotate the regions through new versions. (Keep the clusters on RAPID
-
we dogfood early versions in CI.)cd build; make GCP_PROJECT=agones-images gcloud-e2e-test-cluster
build/terraform/upgrade/module.tf
, add the new supported version to the map
kubernetes_versions
following the instructions in the comment. Follow the instructions
to rotate the regions through new versions. (Keep the clusters on RAPID
.) Note that the
upgrade clusters do not use the exact same regions as the e2e tests.cd build; make shell; cd build/terraform/upgrade
terraform init -backend-config="bucket=agones-images-upgrade-infra-bucket-tfstate" -backend-config="prefix=terraform/state"
terraform apply -var project="agones-images"
versionsAndRegions
variable to add the new supported version and remove the
oldest supported K8s version in cloudbuild.yaml
submit-e2e-test-cloud-build
stepfeatureWithGateByVersion
variable to add the new supported version and remove
the oldest supported K8s version in cloudbuild.yaml
submit-e2e-test-cloud-build
stepversionsAndRegions
variable to add the new supported version and remove the
oldest supported K8s version in cloudbuild.yaml
submit-upgrade-test-cloud-build
steptest/upgrade/versionMap.yaml
k8sToAgonesVersions
to add the new Kubernetes
version. For example:
],
"1.32": [
"Dev"
]
make lint
for code quality check.build/terraform/e2e/module.tf
, continue following the instructions in the comment to
update the kubernetes_versions
map.cd build; make GCP_PROJECT=agones-images gcloud-e2e-test-cluster
build/terraform/upgrade/module.tf
, continue following the instructions in the comment
to update the kubernetes_versions
map.cd build; make shell; cd build/terraform/upgrade
terraform init -backend-config="bucket=agones-images-upgrade-infra-bucket-tfstate" -backend-config="prefix=terraform/state"
terraform apply -var project="agones-images"
build/terraform/performance/module.tf
, update the kubernetes_versions
to {version_2}
and make sure the region is always set to us-central1
.cd build; make shell; cd build/terraform/performance
terraform init -backend-config="bucket=agones-images-performance-infra-bucket-tfstate" -backend-config="prefix=terraform/state"
terraform apply -var project="agones-images"
_TEST_CLUSTER_NAME
in ci/perf-test-cloudbuild.yaml
to the name of the newly
created performance test cluster, and send a PR with the changes.Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )