Merge pull request #20365 from ntkjer/feature/ingress-minikube-edit

fixes deprecated references to kubectl run as a deployment generator
This commit is contained in:
Kubernetes Prow Robot
2020-04-17 07:39:06 -07:00
committed by GitHub
@@ -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: