update docs
parent
0a00f13282
commit
5989aab31d
|
@ -32,8 +32,9 @@ service "nginx" exposed
|
||||||
|
|
||||||
> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
|
> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
|
||||||
|
|
||||||
|
```
|
||||||
export NODE_PORT=$(kubectl get svc nginx --output=jsonpath='{range .spec.ports[0]}{.nodePort}')
|
export NODE_PORT=$(kubectl get svc nginx --output=jsonpath='{range .spec.ports[0]}{.nodePort}')
|
||||||
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-nginx-service \
|
gcloud compute firewall-rules create kubernetes-nginx-service \
|
||||||
|
|
Loading…
Reference in New Issue