File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,12 @@ $ gcloud compute firewall-rules create allow-130-211-0-0-22 \
140140
141141Where ` 130.211.0.0/22 ` is the source range of the GCE L7, ` $NODE_PORT ` is the node port your Service is exposed on, i.e:
142142``` console
143- $ export NODE_PORT= $( kubectl get -o jsonpath=" {.spec.ports[0].nodePort}" services echoheadersx )
143+ $ kubectl get -o jsonpath=" {.spec.ports[0].nodePort}" services ${SERVICE_NAME}
144144```
145145
146- and ` $TAG ` is a list of GKE instance tags, i.e:
146+ and ` $TAG ` is an optional list of GKE instance tags, i.e:
147147``` console
148- $ export TAG= $( basename ` gcloud container clusters describe ${CLUSTER_NAME} --zone ${ZONE} | grep gke | awk ' {print $2} ' ` | sed -e s/group/ node/ )
148+ $ kubectl get nodes | awk ' {print $1} ' | tail -n +2 | grep -Po ' gke-[0-9,a-z]+-[0-9,a-z]+- node' | uniq
149149```
150150
151151## Static and Ephemeral IPs
You can’t perform that action at this time.
0 commit comments