Skip to content

Commit

Permalink
update echo-server image and add ingress step
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Dec 28, 2022
1 parent 15ca1fc commit 428a55f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions site/content/en/docs/handbook/accessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Services of type `NodePort` can be exposed via the `minikube service <service-na
1. Create a Kubernetes deployment

```shell
kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment hello-minikube1 --image=kicbase/echo-server:1.0
```

2. Create a Kubernetes service type NodePort
Expand Down Expand Up @@ -159,7 +159,7 @@ Services of type `LoadBalancer` can be exposed via the `minikube tunnel` command
2. Create a Kubernetes deployment
```shell
kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment hello-minikube1 --image=kicbase/echo-server:1.0
```
3. Create a Kubernetes service with type LoadBalancer
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/handbook/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ aliases:
## kubectl

```shell
kubectl create deployment hello-minikube1 --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment hello-minikube1 --image=kicbase/echo-server:1.0
kubectl expose deployment hello-minikube1 --type=LoadBalancer --port=8080
```

Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/handbook/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ minikube kubectl -- get pods
Creating a deployment inside kubernetes cluster
```shell
minikube kubectl -- create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4
minikube kubectl -- create deployment hello-minikube --image=kicbase/echo-server:1.0
```
Exposing the deployment with a NodePort service
Expand Down
4 changes: 4 additions & 0 deletions site/content/en/docs/start/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,10 @@ NAME CLASS HOSTS ADDRESS PORTS AGE
example-ingress nginx * <your_ip_here> 80 5m45s
```

**Note for Docker Desktop Users:**
<br>
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>`.

Now verify that the ingress works
```shell
$ curl <ip_from_above>/foo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ this [post](https://blog.getambassador.io/new-kubernetes-1-18-extends-ingress-c3
First, let's create a Kubernetes deployment and service which we will talk to via Ambassador.

```shell script
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0
kubectl expose deployment hello-minikube --port=8080
```

Expand Down Expand Up @@ -105,7 +105,7 @@ that maps a target backend service to a given host or prefix.

Let's create another Kubernetes deployment and service that we will expose via Ambassador -
```shell script
kubectl create deployment mapping-minikube --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment mapping-minikube --image=kicbase/echo-server:1.0
kubectl expose deployment mapping-minikube --port=8080
```

Expand Down

0 comments on commit 428a55f

Please sign in to comment.