-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
min_master_version not sufficient #10028
Comments
Is this possible with the REST APIs as they exist today? If not, you may be better off filing a request against the API team via: https://cloud.google.com/support/docs/issue-trackers I don't believe this is currently a supported functionality of the GKE API |
Yes, I think it is possible via APIs . google cloud's terraform module supports specifying exact value. |
What do you mean by that? Can you show me an example? |
Please see on this page the description for kubernetes_version : https://github.com/terraform-google-modules/terraform-google-kubernetes-engine |
Yeah, that module is using this provider. Which means it can only specify things that are available through this provider. I believe that is using min_master_version at some level |
Is there anything that this provider provides that we can use if our module is using this provider? I don't think min_master_version can be used to implement kubernetes_version |
min_master_version is used to implement and |
Hi sorry for the distraction with the other module. But it does have a REST equivalent where we can set Kuberntes version (please see version and initial_cluster_version): POST https://container.googleapis.com/v1beta1/projects/datacabinet-backend/zones/us-central1-c/clusters |
So Does this solve your issue? |
You can set the same value via the main cluster rather than specifying it on individual node pools via the |
Based on the discussion here and my previous comments I don't believe the requested behavior is possible in GKE. GKE does not allow specifying a specific version of Kubernetes to run in the cluster. It allows specifying this on a node pool level, which we currently support in the Terraform provider. I'm closing this for now. If this behavior is possible in GKE you can comment here or make a new ticket explaining how this behavior is possible via either the REST API or |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
we need to pin Kubernetes version to a particular version. Otherwise we wont even realize and our yaml files become obsolete. Can we get to configure the exact kubernetes version?
IF there is something already that can be used, please point us to it. IT is a blocker for us. Please help.
Community Note
Description
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: