Commit 8a1c2fa3 authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9437 from kprobst/fw-doc2

Added explanation about firewall and external IP to nginx example.
parents 547b3a7e cd9accf7
...@@ -37,7 +37,13 @@ to do this run: ...@@ -37,7 +37,13 @@ to do this run:
kubectl expose rc my-nginx --port=80 --type=LoadBalancer 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 ### Next: Configuration files
Most people will eventually want to use declarative configuration files for creating/modifying their applications. A [simplified introduction](simple-yaml.md) Most people will eventually want to use declarative configuration files for creating/modifying their applications. A [simplified introduction](simple-yaml.md)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment