Open mattmoor opened 6 years ago
I think this is probably what we want:
gcloud --project=$PROJECT_ID container clusters create \
--cluster-version=1.8.5-gke.0 \
--enable-legacy-authorization \
--zone=us-central1-a \
--scopes=cloud-platform \
--enable-autoupgrade \
--enable-autorepair \
--enable-autoscaling --min-nodes=1 --max-nodes=10 \
$PROJECT_ID-sample
The oauth scopes can be tuned to something smaller, but this makes a dev cluster a bit more future proof wrt auth needs.
This needs:
--enable-legacy-authorization