You are browsing documentation for an older version. See the latest documentation here.
Configure the Admin API
Kong Gateway is now running on Kubernetes. The Admin API is a NodePort
service, which means it’s not publicly available. The proxy service is a LoadBalancer
which provides a public address.
To make the admin API accessible without using kubectl port-forward
, you can create an internal load balancer on your chosen cloud. This is required to use Kong Manager to view or edit your configuration.
Update your values-cp.yaml
file with the following Ingress configuration.
-
Configure your Ingress Controller:
-
Configure the
admin
section invalues-cp.yaml
. Replaceexample.com
with your custom domain name. -
Run
helm upgrade
to update the release.helm upgrade kong-cp kong/kong -n kong --values ./values-cp.yaml
-
Fetch the
Ingress
IP address and update your DNS records to point at the Ingress address. You can configure DNS manually, or use a tool like external-dns to automate DNS configuration.kubectl get ingress -n kong kong-cp-kong-admin -o jsonpath='{.spec.rules[0].host}{": "}{range .status.loadBalancer.ingress[0]}{@.ip}{@.hostname}{end}'