mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-27 14:13:53 +03:00
update docs
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
```
|
||||
export NODE_PORT=$(kubectl get svc nginx --output=jsonpath='{range .spec.ports[0]}{.nodePort}')
|
||||
```
|
||||
|
||||
```
|
||||
gcloud compute firewall-rules create kubernetes-nginx-service \
|
||||
|
Reference in New Issue
Block a user