https://pulumi.com logo
#google-cloud
Title
# google-cloud
b

brainy-fountain-85121

05/30/2023, 11:00 AM
Hi, I hope you all are doing well ! Is there any tweak on how to create a GKE cluster with the autopilot config ?
i

incalculable-camera-24952

06/23/2023, 3:14 PM
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)