Kong Manager is the graphical user interface (GUI) for Kong Gateway. It uses the Kong Admin API under the hood to administer and control Kong Gateway.
Kong’s Admin API must be accessible over HTTP from your local machine to use Kong Manager
This page is part of the Install Kong Gateway on-prem on Kubernetes series.
Complete the previous page, Configure the Admin API with Kong Gateway on Kubernetes before completing this page.
Kong Manager is the graphical user interface (GUI) for Kong Gateway. It uses the Kong Admin API under the hood to administer and control Kong Gateway.
Kong’s Admin API must be accessible over HTTP from your local machine to use Kong Manager
Kong Manager is served from the same node as the Admin API. To enable Kong Manager, make the following changes to your values-cp.yaml
file.
Set admin_gui_url
, admin_gui_api_url
and admin_gui_session_conf
under the env
key:
env:
admin_gui_url: http://manager.example.com
admin_gui_api_url: http://admin.example.com
# Change the secret and set cookie_secure to true if using an HTTPS endpoint
admin_gui_session_conf: '{"secret":"secret","storage":"kong","cookie_secure":false}'
Replace example.com
in the configuration with your domain.
Enable Kong Manager authentication under the enterprise
key:
enterprise:
rbac:
enabled: true
admin_gui_auth: basic-auth
Configure the manager
section in values-cp.yaml
. Replace example.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-manager \
-o jsonpath='{.spec.rules[0].host}{": "}{range .status.loadBalancer.ingress[0]}{@.ip}{@.hostname}{end}'
Visit the URL in env.admin_gui_url
in a web browser to see the Kong Manager log in page. The default username is kong_admin
, and the password is the value you set in env.password
when installing the Kong Gateway control plane in the previous step.
I can’t log in to Kong Manager.
Check that env.password
was set in values-cp.yaml
before installing Kong. Kong Gateway generates a random admin password if this is not set. This password can not be recovered and you must reinstall Kong to set a new admin password.
What are my login credentials?
The Kong super admin username is kong_admin
, and the password is the value set in env.password
in values-cp.yaml
.
Kong Manager shows a white screen.
Ensure that env.admin_gui_api_url
is set correctly in values-cp.yaml
.