File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -157,14 +157,16 @@ jobs:
157
157
set -o pipefail
158
158
set -o xtrace
159
159
160
- # create the cluster
161
- gcloud container --project $GCP_PROJECT clusters create-auto $CLUSTER_NAME \
160
+ # create the cluster - Autopilot does not support NET_ADMIN capability
161
+ gcloud container --project $GCP_PROJECT clusters create $CLUSTER_NAME \
162
162
--region $GKE_REGION \
163
163
--release-channel "regular" \
164
164
--network "projects/$GCP_PROJECT/global/networks/default" \
165
165
--subnetwork "projects/$GCP_PROJECT/regions/$GKE_REGION/subnetworks/default" \
166
166
--cluster-ipv4-cidr "/17" \
167
- --services-ipv4-cidr "/22"
167
+ --services-ipv4-cidr "/22" \
168
+ --num-nodes 1 \
169
+ --machine-type "e2-standard-2"
168
170
169
171
- name : set-context-name
170
172
id : set-context
You can’t perform that action at this time.
0 commit comments