Merge pull request #23958 from a1russell/master
Fix a couple issues in docker-cli-to-kubectl.mdpull/23467/head
commit
22fa53c77d
|
@ -42,6 +42,7 @@ kubectl create deployment --image=nginx nginx-app
|
|||
# add env to nginx-app
|
||||
kubectl set env deployment/nginx-app DOMAIN=cluster
|
||||
```
|
||||
```
|
||||
deployment.apps/nginx-app created
|
||||
```
|
||||
|
||||
|
@ -52,7 +53,6 @@ kubectl set env deployment/nginx-app DOMAIN=cluster
|
|||
```
|
||||
deployment.apps/nginx-app env updated
|
||||
```
|
||||
deployment.apps/nginx-app env updated
|
||||
|
||||
{{< note >}}
|
||||
`kubectl` commands print the type and name of the resource created or mutated, which can then be used in subsequent commands. You can expose a new Service after a Deployment is created.
|
||||
|
|
Loading…
Reference in New Issue