update docs

pull/4/head
Kelsey Hightower 2016-07-07 15:26:05 -07:00
parent 5a925e42c6
commit d2701778ae
1 changed files with 14 additions and 14 deletions

View File

@ -37,19 +37,23 @@ service "nginx" exposed
kubectl describe svc nginx kubectl describe svc nginx
``` ```
``` ```
Name: nginx Name: nginx
Namespace: default Namespace: default
Labels: run=nginx Labels: run=nginx
Selector: run=nginx Selector: run=nginx
Type: NodePort Type: NodePort
IP: 10.32.0.199 IP: 10.32.0.199
Port: <unset> 80/TCP Port: <unset> 80/TCP
NodePort: <unset> 32345/TCP NodePort: <unset> 32345/TCP
Endpoints: 10.200.0.2:80,10.200.1.2:80,10.200.2.2:80 Endpoints: 10.200.0.2:80,10.200.1.2:80,10.200.2.2:80
Session Affinity: None Session Affinity: None
No events. No events.
``` ```
```
gcloud compute firewall-rules create nginx-service --allow=tcp:32345
```
``` ```
gcloud compute instances list gcloud compute instances list
``` ```
@ -67,10 +71,6 @@ worker1 us-central1-f n1-standard-1 10.240.0.31 104.197.163
worker2 us-central1-f n1-standard-1 10.240.0.32 104.154.41.9 RUNNING worker2 us-central1-f n1-standard-1 10.240.0.32 104.154.41.9 RUNNING
```` ````
```
gcloud compute firewall-rules create nginx-service --allow=tcp:32345
```
``` ```
curl http://104.155.181.141:32345 curl http://104.155.181.141:32345
``` ```