Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit 569ab62

Browse files
committed
Merge pull request #647 from bprashanth/ing_docs
Clarify firewall rule doc.
2 parents 9e57f96 + 61c03a7 commit 569ab62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ingress/controllers/gce/BETA_LIMITATIONS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ $ gcloud compute firewall-rules create allow-130-211-0-0-22 \
140140

141141
Where `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

0 commit comments

Comments
 (0)