s/rc/deployment in expose command in Quick Start
According to http://kubernetes.io/docs/user-guide/docker-cli-to-kubectl/, since version 1.2, `run` creates a deployment rather than a replication controllerpull/967/head
parent
7a986c3393
commit
0626f32271
|
@ -25,7 +25,7 @@ deployment "my-nginx" created
|
||||||
To expose your service to the public internet, run:
|
To expose your service to the public internet, run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ kubectl expose rc my-nginx --target-port=80 --type=LoadBalancer
|
$ kubectl expose deployment my-nginx --target-port=80 --type=LoadBalancer
|
||||||
service "my-nginx" exposed
|
service "my-nginx" exposed
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue