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

Unable to upgrade GKE cluster #479

Open
Thakurvaibhav opened this issue Oct 17, 2022 · 4 comments
Open

Unable to upgrade GKE cluster #479

Thakurvaibhav opened this issue Oct 17, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Thakurvaibhav
Copy link

Thakurvaibhav commented Oct 17, 2022

What happened?

Unable to upgrade from GKE 1.22 to 1.23
The cluster version was set using initialClusterVersion: "1.22" and releaseChannel.channel: "STABLE"
As the next step, I updated the field to initialClusterVersion: "1.23" but the GKE cluster does not seem to get the upgrade. I don't see any helpful logs in the crossplane gcp provider pod either.

How can we reproduce it?

Provision a GKE cluster with initialClusterVersion: "1.22" and releaseChannel.channel: "STABLE" and apply the manifest using kubectl or ArgoCD. Then, update the initialClusterVersion: "1.23" and apply the manifest again

What environment did it happen in?

Crossplane version: 1.6.2
GCP Provider version: v0.20.0

@Thakurvaibhav Thakurvaibhav added the bug Something isn't working label Oct 17, 2022
@Feggah
Copy link
Collaborator

Feggah commented Oct 19, 2022

Hey @Thakurvaibhav, thanks for raising this issue!

This field is only used in the creation time. initialClusterVersion is immutable (modifying it won't update the external resource). I don't think you can upgrade the master version using the provider.

@Thakurvaibhav
Copy link
Author

Hi @Feggah
Thank you for the response. What is the recommended way to upgrade clusters?

@Feggah
Copy link
Collaborator

Feggah commented Oct 20, 2022

I don't have an answer for this using Crossplane, lack of my experience with using the Managed Resource 😢

But the master version is upgraded automatically by the GCP based on the releaseChannel that you chose.

You can also upgrade the version manually by using the gcloud CLI, but using this provider I'm not sure. Maybe someone else knows how to do it

@ghost
Copy link

ghost commented Oct 25, 2022

Just noting this is a requirement for us to be able to adopt crossplane. Our org does not use the release channels, rather we need to directly specify the cluster version. We would like to be able to update our GKE versions through crossplane .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants