Merge pull request #9437 from kprobst/fw-doc2

Added explanation about firewall and external IP to nginx example.
pull/6/head
Abhi Shah 2015-06-10 13:35:22 -07:00
commit 8a1c2fa3ad
1 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,13 @@ to do this run:
kubectl expose rc my-nginx --port=80 --type=LoadBalancer
```
This should print the service that has been created, and map an external IP address to the service.
This should print the service that has been created, and map an external IP address to the service. Where to find this external IP address will depend on the environment you run in. For instance, for Google Compute Engine the external IP address is listed as part of the newly created service and can be retrieved by running
```bash
kubectl get services
```
In order to access your nginx landing page, you also have to make sure that traffic from external IPs is allowed. Do this by opening a firewall to allow traffic on port 80.
### Next: Configuration files
Most people will eventually want to use declarative configuration files for creating/modifying their applications. A [simplified introduction](simple-yaml.md)