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
parent
76571a6cfa
commit
8c4fc0351a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue