terraform-google-kubernetes-engine icon indicating copy to clipboard operation
terraform-google-kubernetes-engine copied to clipboard

Selecting a control plane/node version or constraint with a channel

Open jawnsy opened this issue 3 years ago • 2 comments

TL;DR

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1279 added the capability to select a specific version when channels are not in use (the special UNSPECIFIED designator).

I would like the ability to either describe a version constraint, or to select the newest version of the given channel (instead of just the default version of a given channel), as we can do in the UI and as indicated in this comment: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/1279#issuecomment-1167584257

Terraform Resources

No response

Detailed design

No response

Additional information

The UI selection for the Regular release channel looks like this:

image

When creating a cluster using this submodule, the default version will be selected, and GKE will track this version according to the maintenance policy. We can also manually upgrade our cluster.

However, there is no way to indicate that we would like to upgrade to the newest supported version of a given release channel, rather than simply using the default.

jawnsy avatar Aug 08 '22 00:08 jawnsy

Thanks for the FR @jawnsy. Happy to review a PR too if you have bandwidth.

bharathkkb avatar Aug 18 '22 17:08 bharathkkb

Just stumbled across this old issue today, looks like it's a long-standing request: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/issues/675

The other issue refers to the issue tracker: https://issuetracker.google.com/issues/235121270

jawnsy avatar Aug 29 '22 16:08 jawnsy