Skip to content

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

@guangyw

Description

@guangyw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions