Fix a couple issues in docker-cli-to-kubectl.md

pull/23958/head
Adam Russell 2020-09-17 11:50:46 -05:00
parent 9fe46601ce
commit 82546d3ff8
1 changed files with 1 additions and 1 deletions

View File

@ -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.