diff --git a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md index c07155a2596..0a16c71064c 100644 --- a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md +++ b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md @@ -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 create deployment 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 ``` Output: @@ -203,7 +203,7 @@ The following file is an Ingress resource that sends traffic to your Service via 1. Create a v2 Deployment using the following command: ```shell - kubectl run web2 --image=gcr.io/google-samples/hello-app:2.0 --port=8080 + kubectl create deployment web2 --image=gcr.io/google-samples/hello-app:2.0 ``` Output: @@ -214,7 +214,7 @@ The following file is an Ingress resource that sends traffic to your Service via 1. Expose the Deployment: ```shell - kubectl expose deployment web2 --target-port=8080 --type=NodePort + kubectl expose deployment web2 --port=8080 --type=NodePort ``` Output: @@ -228,7 +228,7 @@ The following file is an Ingress resource that sends traffic to your Service via 1. Edit the existing `example-ingress.yaml` and add the following lines: ```yaml - - path: /v2/* + - path: /v2 backend: serviceName: web2 servicePort: 8080