1 To connect to Kong, please execute the following command
4 {{- if contains "LoadBalancer" .Values.proxy.type }}
5 HOST=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
6 PORT=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.spec.ports[0].port}')
7 {{- else if contains "NodePort" .Values.proxy.type -}}
8 HOST=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath='{.items[0].status.addresses[0].address}')
9 PORT=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kong.fullname" . }}-proxy -o jsonpath='{.spec.ports[0].nodePort}')
11 export PROXY_IP=${HOST}:${PORT}
14 Once installed, please follow along the getting started guide to start using Kong:
15 https://bit.ly/k4k8s-get-started