このページは、まだ日本語ではご利用いただけません。翻訳中です。
旧バージョンのドキュメントを参照しています。 最新のドキュメントはこちらをご参照ください。
Install Kong Manager
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
Prerequisites
- Kong Gateway installed
- Kong’s Admin API is accessible over HTTP from your local machine
Installation
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_urlandadmin_gui_session_confunder theenvkey.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 a HTTPS endpoint admin_gui_session_conf: '{"secret":"secret","storage":"kong","cookie_secure":false}' -
Replace
example.comin the configuration with your domain. -
Enable Kong Manager authentication under the
enterprisekey.enterprise: rbac: enabled: true admin_gui_auth: basic-auth -
values-cp.yamlでmanagerセクションを設定します。example.comをカスタムドメイン名に置き換えます。 -
helm upgradeを実行してリリースを作成します。helm upgrade kong-cp kong/kong -n kong --values ./values-cp.yaml -
IngressIPアドレスを取得し、イングレスアドレスを指すようにDNSレコードを更新します。DNSを手動で構成することも、external-dnsなどのツールを使用してDNS構成を自動化することもできます。kubectl get ingress -n kong kong-cp-kong-manager -o jsonpath='{.spec.rules[0].host}{": "}{range .status.loadBalancer.ingress[0]}{@.ip}{@.hostname}{end}'
Testing
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.
Troubleshooting
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.