Merge pull request #25337 from smashse/patch-2

Update docker-cli-to-kubectl.md
This commit is contained in:
Kubernetes Prow Robot
2021-01-12 11:10:38 -08:00
committed by GitHub
@@ -37,16 +37,11 @@ kubectl:
# start the pod running nginx
kubectl create deployment --image=nginx nginx-app
```
```shell
# add env to nginx-app
kubectl set env deployment/nginx-app DOMAIN=cluster
```
```
deployment.apps/nginx-app created
```
```
```shell
# add env to nginx-app
kubectl set env deployment/nginx-app DOMAIN=cluster
```