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

Hack to detect Autopilot clusters is no longer working. #1367

Open
guangyw opened this issue Dec 14, 2022 · 1 comment
Open

Hack to detect Autopilot clusters is no longer working. #1367

guangyw opened this issue Dec 14, 2022 · 1 comment

Comments

@guangyw
Copy link

guangyw commented Dec 14, 2022

is_autopilot() {

I bumped into this because our automation start to break with
asmcli: [ERROR]: Autopilot clusters are only supported with managed control plane.
Initially I thought this maybe some change to gcloud cli that new clusters are defaulting to being autopilot clusters. But I manually created a non autopilot cluster and are still seeing this. Upon checking up the implementation details, I found this basis of this hack is no longer true. I do find allowlistedworkloads.auto.gke.io CRD in my non-autopilot cluster

@zerobfd
Copy link
Contributor

zerobfd commented Dec 14, 2022

Thanks for the report! This should be fixed by #1366 when it's merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants