Hi, I hope you all are doing well ! Is there any t...
# google-cloud
b
Hi, I hope you all are doing well ! Is there any tweak on how to create a GKE cluster with the autopilot config ?
i
autopilot quirks I've run into so far off the top of my head: workload identity config is automatic nodeConfig is ignored by GCP you instead do something like follows to set a non-default service account:
Copy code
clusterAutoscaling: {
                autoProvisioningDefaults: {
                    serviceAccount: myServiceAccount.email,
                },
            },
note that if you get a google API error saying
googleapi: Error 400: Overriding Autopilot autoscaling settings is not allowed.
you may need to delete and recreate your cluster (this was my experience)