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

Migrate away from deprecated APIs removed in Kubernetes 1.16 #412

Open
cameel opened this issue Mar 28, 2020 · 0 comments · May be fixed by #413
Open

Migrate away from deprecated APIs removed in Kubernetes 1.16 #412

cameel opened this issue Mar 28, 2020 · 0 comments · May be fixed by #413
Assignees
Labels
build and deployment system chore config-only Change that's only in configuration and does not require adding or changing logic

Comments

@cameel
Copy link
Contributor

cameel commented Mar 28, 2020

We have received an e-mail from GKE about the upcoming upgrade to Kubenetes 1.16:

GKE will gradually upgrade clusters to Kubernetes v1.16:

  • clusters subscribed to the regular release channel will begin upgrades on or after April 9, 2020
  • clusters subscribed to the stable release channel and non-release-channel clusters will be upgraded later this year; a reminder will be sent before these clusters are upgraded to v1.16

Kubernetes 1.16 removes some of the older APIs. One of them is extensions/v1beta1 which we've been using here. Fortunately this beta API has simply been replaced with the stable apps/v1 API some time ago and we can just switch to it without much effort.

Replace extensions/v1beta1 with apps/v1 in our yaml configs, redeploy and test the cluster. Hopefully that's all that's needed here but please review the changes listed in Deprecated APIs Removed In 1.16: Here’s What You Need To Know and, if necessary, adjust our configs. apps/v1 introduced changes to

  • spec.rollbackTo
  • spec.selector
  • spec.progressDeadlineSeconds
  • spec.revisionHistoryLimit
  • maxSurge and maxUnavailable

Please make sure their new defaults make sense for Concent.

@cameel cameel added build and deployment system chore config-only Change that's only in configuration and does not require adding or changing logic labels Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build and deployment system chore config-only Change that's only in configuration and does not require adding or changing logic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants