Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Kubernetes 1.20 #2186

Closed
22 tasks done
roberthbailey opened this issue Jul 20, 2021 · 3 comments · Fixed by #2203
Closed
22 tasks done

Upgrade to Kubernetes 1.20 #2186

roberthbailey opened this issue Jul 20, 2021 · 3 comments · Fixed by #2203
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/breaking Breaking change kind/feature New features for Agones
Milestone

Comments

@roberthbailey
Copy link
Member

roberthbailey commented Jul 20, 2021

List of items to do for upgrading to 1.20:

  • Update terraform submodules
    • GKE
    • Azure
    • EKS
  • Update prow cluster to use 1.20 (even though we aren't using it yet, we should keep it in sync)
    • Recreate cluster with new scripts: cd build/terraform/prow; terraform apply -var project=agones-images
  • Update e2e cluster to run against 1.20
    • Recreate cluster with new scripts: cd build/terraform/e2e; terraform apply -var project=agones-images
  • Update kubectl in dev tooling
    • Update kubectl in build/build-image/Dockerfile
    • Update kubectl in build/e2e-image/Dockerfile
  • Update documentation for creating clusters to 1.20
    • Config.toml supported_k8s and related (do dev_ before main)
  • Update the dev tooling to create 1.20 clusters
    • Minikube
    • Kind
  • Update client-go
  • Update CRD API reference
    • Update links to k8s documentation in site/assets/templates/crd-doc-config.json
    • Regenerate crd api reference docs - make gen-api-docs
  • Regenerate Kubernetes resource includes (e.g. ObjectMeta, PodTemplateSpec)
    • Start a cluster with make gcloud-test-cluster, uninstall agones using helm uninstall, and then run make gen-embedded-openapi and make gen-install
@roberthbailey
Copy link
Member Author

I checked the 3 public cloud providers to see whether we meet the criteria to upgrade our Kubernetes version for the 1.17 release:

AKS: https://github.com/Azure/AKS/releases/tag/2021-07-15 says Kubernetes 1.21 is now Generally Available (GA), estimated to roll out the week of 2021-07-19 (so this week).

EKS: https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html shows that Kubernetes version 1.21.2 is currently available for new clusters in Amazon EKS.

GKE: https://cloud.google.com/kubernetes-engine/docs/release-notes#May_28_2021 shows that 1.21 is available in the Rapid channel.

Everyone has 1.20 - so according to our guidelines, it is time to upgrade to 1.20.

@roberthbailey
Copy link
Member Author

Current Azure versions:

# az aks get-versions --location eastus --output table
KubernetesVersion    Upgrades
-------------------  ------------------------
1.21.1(preview)      None available
1.20.7               1.21.1(preview)
1.20.5               1.20.7, 1.21.1(preview)
1.19.11              1.20.5, 1.20.7
1.19.9               1.19.11, 1.20.5, 1.20.7
1.18.19              1.19.9, 1.19.11
1.18.17              1.18.19, 1.19.9, 1.19.11

@markmandel
Copy link
Collaborator

Here's some nice news - just confirmed, that issue with Helm + changes to CRDs: No longer present on 1.20 😄

@sawagh sawagh added area/operations Installation, updating, metrics etc area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/breaking Breaking change kind/feature New features for Agones and removed area/operations Installation, updating, metrics etc labels Jul 27, 2021
@roberthbailey roberthbailey added this to the 1.17.0 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/breaking Breaking change kind/feature New features for Agones
Projects
None yet
3 participants