fix(service): use correct endpoint

This commit is contained in:
Samuel Vaillant 2019-11-02 18:47:50 +01:00 committed by GitHub
parent 67f4216fd4
commit 6ff1218b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ Name: simple-internal-service.default.svc.cluster.local
Address: 10.96.31.244
```
Try to curl the `/healthz` url, remember the `ports` we choose in the `service`.
Try to curl the `/health` url, remember the `ports` we choose in the `service`.
Can you access this service from the outside of Kubernetes?
@ -159,7 +159,7 @@ $ minikube ip
192.168.99.100
```
Open a browser on `http://192.168.99.100/info`
Open a browser on `http://192.168.99.100/health`
With this manifest we have a `deployment` that manages pods. A `service` that gives access to the pods, and an `ingress` that gives access to the pod to the external world.