In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use KongA management UI in KONG gateway, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something from this article.
Although kong is very powerful, it can only be managed through API requests, so is there a management tool for UI interface? Here we are going to talk about kong managing UI rising star Konga.
PS:Kong version must be > = 1.0.0 to use konga properly
First, konga introduction
One of the greatest conveniences brought by konga is that all the current configurations of kong can be well observed through UI, and you can view, monitor and warn the situation of managing kong nodes. The main features of konga are as follows:
Multi-user management
Manage multiple Kong nodes
Email exception message notification
Manage all Kong Admin API
Restore and migrate Kong nodes using snapshot backups
Monitor node and API status using health check
Easy database integration (MySQL,postgresSQL,MongoDB)
Second, docker installs konga
Of course, docker is the most convenient to install.
Docker run-p 1337 NODE_ENV=production 1337\-network kong-net\-- name konga\-e "NODE_ENV=production"\ pantsel/konga:0.14.1
After installation, you can directly access port 1337 to access the konga home page and register your own account.
Third, deploy konga using an external database
Using docker is fast, but if the data no longer exists once the data is redeployed, konga and kong can use an external database to persist the data.
We first need to prepare a database of postgres, which can be used with kong.
{DB-host}: {DB-port} {DB-user} {DB-pass}
Create a konga database
CREATE DATABASE "konga" WITH ENCODING='UTF8'
Initialize the konga database
Docker run-- rm pantsel/konga:0.14.1-c prepare-a postgres-u postgresql:// {DB-user}: {DB-pass} @ {DB-host}: {DB-port} / konga
Create a konga container through docker-composer
Version: '2.1'services: kong: image: "pantsel/konga:0.14.1" environment: DB_ADAPTER: postgres DB_HOST: {DB-host} DB_PORT: {DB-port} DB_USER: {DB-user} DB_PASSWORD: {DB-pass} DB_DATABASE: konga NODE_ENV: production ports:-"1337:1337/tcp" restart: on-failure IV Basic use of konga
Register the account first.
Add information for kong
You can see the data graph on the front page.
We set up a service that allows us to access the root directory of kong and route it to kong-admin-api.
And the configuration of all kinds of overtime.
If you change the host locally, you can access it normally.
Not only configure routes, plug-in certificates, etc., can be configured directly.
After reading the above, do you have any further understanding of how to manage the use of KongA UI in the KONG gateway? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.