NOTES:
- Kong Admin can be accessed inside the cluster using: DNS=api-kong-admin.default.svc.cluster.local PORT=8444
To connect from outside the K8s cluster:
HOST=$(kubectl get nodes --namespace default -o jsonpath='{.items[0].status.addresses[0].address}')
PORT=$(kubectl get svc --namespace default api-kong-admin -o jsonpath='{.spec.ports[0].nodePort}')
- Kong Proxy can be accessed inside the cluster using:
DNS=api-kong-proxy.default.svc.cluster.local
PORT=8443
To connect from outside the K8s cluster:
HOST=$(kubectl get nodes --namespace default -o jsonpath='{.items[0].status.addresses[0].address}')
PORT=$(kubectl get svc --namespace default api-kong-proxy -o jsonpath='{.spec.ports[0].nodePort}')