File tree 5 files changed +10
-6
lines changed
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Services of type `NodePort` can be exposed via the `minikube service <service-na
41
41
1 . Create a Kubernetes deployment
42
42
43
43
``` shell
44
- kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver :1.4
44
+ kubectl create deployment hello-minikube1 --image=kicbase/echo-server :1.0
45
45
```
46
46
47
47
2. Create a Kubernetes service type NodePort
@@ -159,7 +159,7 @@ Services of type `LoadBalancer` can be exposed via the `minikube tunnel` command
159
159
2. Create a Kubernetes deployment
160
160
161
161
```shell
162
- kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver :1.4
162
+ kubectl create deployment hello-minikube1 --image=kicbase/echo-server :1.0
163
163
```
164
164
165
165
3. Create a Kubernetes service with type LoadBalancer
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ aliases:
11
11
## kubectl
12
12
13
13
``` shell
14
- kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver :1.4
14
+ kubectl create deployment hello-minikube1 --image=kicbase/echo-server :1.0
15
15
kubectl expose deployment hello-minikube1 --type=LoadBalancer --port=8080
16
16
```
17
17
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ minikube kubectl -- get pods
77
77
Creating a deployment inside kubernetes cluster
78
78
79
79
` ` ` shell
80
- minikube kubectl -- create deployment hello-minikube --image=k8s.gcr.io/echoserver :1.4
80
+ minikube kubectl -- create deployment hello-minikube --image=kicbase/echo-server :1.0
81
81
` ` `
82
82
83
83
Exposing the deployment with a NodePort service
Original file line number Diff line number Diff line change @@ -676,6 +676,10 @@ NAME CLASS HOSTS ADDRESS PORTS AGE
676
676
example-ingress nginx * < your_ip_here> 80 5m45s
677
677
```
678
678
679
+ ** Note for Docker Desktop Users:**
680
+ <br >
681
+ To get ingress to work you'll need to open a new terminal window and run ` minikube tunnel ` and in the following step use ` 0.0.0.0 ` in place of ` <ip_from_above> ` .
682
+
679
683
Now verify that the ingress works
680
684
``` shell
681
685
$ curl < ip_from_above> /foo
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ this [post](https://blog.getambassador.io/new-kubernetes-1-18-extends-ingress-c3
56
56
First, let's create a Kubernetes deployment and service which we will talk to via Ambassador.
57
57
58
58
``` shell script
59
- kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver :1.4
59
+ kubectl create deployment hello-minikube --image=kicbase/echo-server :1.0
60
60
kubectl expose deployment hello-minikube --port=8080
61
61
```
62
62
@@ -105,7 +105,7 @@ that maps a target backend service to a given host or prefix.
105
105
106
106
Let's create another Kubernetes deployment and service that we will expose via Ambassador -
107
107
``` shell script
108
- kubectl create deployment mapping-minikube --image=k8s.gcr.io/echoserver :1.4
108
+ kubectl create deployment mapping-minikube --image=kicbase/echo-server :1.0
109
109
kubectl expose deployment mapping-minikube --port=8080
110
110
```
111
111
You can’t perform that action at this time.
0 commit comments