Skip to content

Commit baf3552

Browse files
committed
stop using gke autopilot
1 parent e84ffa4 commit baf3552

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pr.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,16 @@ jobs:
157157
set -o pipefail
158158
set -o xtrace
159159
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 \
162162
--region $GKE_REGION \
163163
--release-channel "regular" \
164164
--network "projects/$GCP_PROJECT/global/networks/default" \
165165
--subnetwork "projects/$GCP_PROJECT/regions/$GKE_REGION/subnetworks/default" \
166166
--cluster-ipv4-cidr "/17" \
167-
--services-ipv4-cidr "/22"
167+
--services-ipv4-cidr "/22" \
168+
--num-nodes 1 \
169+
--machine-type "e2-standard-2"
168170
169171
- name: set-context-name
170172
id: set-context

0 commit comments

Comments
 (0)