Skip to content

Commit

Permalink
Adds minor tweaks to KIC install and run instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rspurgeon committed Jun 27, 2022
1 parent 9298072 commit b48dfd9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion app/gateway/2.8.x/install-and-run/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@ oc new-project kong
export PROXY_IP=$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].ip}" service -n kong kong-proxy)
```

1. Check that the value of $PROXY_IP is the value of the external host:
1. Verify that the value of `$PROXY_IP` matches the value of the external host:

```sh
echo $PROXY_IP
```

This should match the `EXTERNAL_IP` value of the `kong-proxy` service returned by the Kubernetes API:

```sh
kubectl get service kong-proxy -n kong
Expand All @@ -104,6 +110,17 @@ oc new-project kong
oc get service kong-proxy -n kong
```

1. Finally, invoke a test request:
```sh
curl $PROXY_IP
```

which should return a response from the Kong gateway:

```sh
{"message":"no Route matched with those values"}
```

## Next steps

See the [Kong Ingress Controller docs](/kubernetes-ingress-controller/) for how-to guides, reference guides, and more.

0 comments on commit b48dfd9

Please sign in to comment.