fixed deprecated references to kubectl deployment generation. uses create instead of run instead.

This commit is contained in:
ntkjer
2020-04-15 17:56:00 -04:00
committed by bryan
parent 4c6d531929
commit 0457e645f5
@@ -66,7 +66,7 @@ This page shows you how to set up a simple Ingress which routes requests to Serv
1. Create a Deployment using the following command:
```shell
kubectl run web --image=gcr.io/google-samples/hello-app:1.0 --port=8080
kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0 --port=8080
```
Output:
@@ -78,7 +78,7 @@ This page shows you how to set up a simple Ingress which routes requests to Serv
1. Expose the Deployment:
```shell
kubectl expose deployment web --target-port=8080 --type=NodePort
kubectl expose deployment web --type=NodePort --port=8080
```
Output: