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

ArgoCD preventing automatic GKE upgrade to 1.22 #10003

Closed
dry4ng opened this issue Jul 15, 2022 · 4 comments
Closed

ArgoCD preventing automatic GKE upgrade to 1.22 #10003

dry4ng opened this issue Jul 15, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@dry4ng
Copy link

dry4ng commented Jul 15, 2022

We are getting this warning on all GKE clusters:

This cluster will not be scheduled for an automatic upgrade to v1.22, the next minor version, because your API clients have used deprecated APIs in the last 30 days that are no longer available in this version. Once the cluster reaches end of life on v1.21, it would then be automatically upgraded to v1.22, but upgrading the cluster before it’s migrated to updated APIs could cause it to break.

Deprecated APIs called: /apis/extensions/v1beta1/ingresses
User agent: argocd-application-controller/v0.0.0 (linux/amd64) kubernetes/$Format
Total calls (last 30 days): 86146

@dry4ng dry4ng added the bug Something isn't working label Jul 15, 2022
@toVersus
Copy link
Contributor

This is not a bug and is the normal behavior of the Argo CD application controllers. Please see the discussion in #9786, especially the comments here, here and here.
As described in the comments, you can manually upgrade those clusters to v1.22 or later.

@dry4ng
Copy link
Author

dry4ng commented Jul 18, 2022

Thanks for the links. I understand that I can manually upgrade the cluster. I already did so. I still get the above message even after upgrade. And I would like to have automatic updates for our non critical clusters. Any suggestions on how to achieve that with ArgoCD oauth enabled?

@toVersus
Copy link
Contributor

Any suggestions on how to achieve that with ArgoCD oauth enabled?

Sorry, I think there is no workaround at this moment. I believe this situation will be improved if we can manually disable the feature to block the automatic GKE upgrade because there are no faults on Argo CD. It dynamically gets list of available APIs on the cluster so it works fine after upgrading the cluster to the version removing the deprecated APIs. I think it would be better to consult with the GCP support and submit a feature request if needed.

@dry4ng
Copy link
Author

dry4ng commented Jul 18, 2022

Got it. I will explain the situation to GCP support.

@dry4ng dry4ng closed this as completed Jul 18, 2022
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