Merge pull request #23958 from a1russell/master
Fix a couple issues in docker-cli-to-kubectl.md
This commit is contained in:
@@ -42,6 +42,7 @@ kubectl create deployment --image=nginx nginx-app
|
|||||||
# add env to nginx-app
|
# add env to nginx-app
|
||||||
kubectl set env deployment/nginx-app DOMAIN=cluster
|
kubectl set env deployment/nginx-app DOMAIN=cluster
|
||||||
```
|
```
|
||||||
|
```
|
||||||
deployment.apps/nginx-app created
|
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
|
||||||
```
|
```
|
||||||
deployment.apps/nginx-app env updated
|
|
||||||
|
|
||||||
{{< note >}}
|
{{< 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.
|
`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.
|
||||||
|
|||||||
Reference in New Issue
Block a user