clarification on type LoadBalancer for exposing

Took me a bit of time to learn that type LadBalancer wasn't fully working in an OpenStack environment as I was going through this.
reviewable/pr1752/r1
Chris Riviere 2016-11-21 11:27:15 -08:00 committed by GitHub
parent 76571a6cfa
commit 8c4fc0351a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $ kubectl run my-nginx --image=nginx --replicas=2 --port=80
deployment "my-nginx" created
```
To expose your service to the public internet, run:
To expose your service to the public internet, run the following. Note, the type, LoadBalancer, is highly dependant upon the underlying platform that Kubernetes is running on. Type LoadBalancer may work in public cloud environments just fine but may require some additional configuration in a private cloud environment (ie. OpenStack).
```shell
$ kubectl expose deployment my-nginx --target-port=80 --type=LoadBalancer