?
Kong Dashboard
?
前些天發現了一個巨牛的人工智能學習網站,通俗易懂,風趣幽默,忍不住分享一下給大家。點擊跳轉到教程。
?
Kong?is a scalable, open source API Layer (also known as a API Gateway, or API Middleware).
Kong runs in front of any RESTful API and provide functionalities
and services such as requests routing, authentication, rate limiting, etc.
Kong dashboard?is a GUI that will let you manage your Kong Gateway setup.
( 譯:
Kong是一個可擴展的開源API層(也稱為API網關或API中間件)。
Kong 在任何 RESTful API 之前運行,
并提供諸如請求路由,身份驗證,速率限制等功能和服務。
Kong儀表板是一個GUI,可讓您管理您的Kong Gateway設置。)
?
Compatibility matrix (兼容列表)
Kong-Dashboard versions | Kong versions | Node versions |
---|---|---|
1.x.x | 0.6, 0.7, 0.8, 0.9 | ? |
2.x.x | 0.10 | ? |
3.0.x | 0.9, 0.10, 0.11 | >= 6.0.0 |
3.1.x, 3.2.x | 0.9, 0.10, 0.11, 0.12 | >= 6.0.0 |
3.3.x | 0.9, 0.10, 0.11, 0.12, 0.13 | >= 6.0.0 |
Notes:
- Kong Dashboard 3.3.0 is only partially compatible with Kong 0.13. It does not support the new Service and Route
objects introduced in Kong 0.13. (譯 : Kong Dashboard 3.3.0 只與 Kong 0.13 部分兼容。它不支持?Kong 0.13 中引入的新的Service 和 Route?對象。)
Prerequisites (?先決條件?)
You will need:? (你會需要:)
- a running Kong gateway.?https://getkong.org/install/
- nodejs and npm, or docker??
(1.一個正在運行的 Kong 網關?https://getkong.org/install/? ? 2.?nodejs 和 npm 或者 docker?)
?
Installation (安裝)
Using npm (使用 npm)
# Install Kong Dashboard
npm install -g kong-dashboard# Start Kong Dashboard
kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard on a custom port
kong-dashboard start \--kong-url http://kong:8001 \--port [port]# Start Kong Dashboard with basic auth
kong-dashboard start \--kong-url http://kong:8001 \--basic-auth user1=password1 user2=password2# See full list of start options
kong-dashboard start --help
?
?
Using Docker (使用 Docker?)
# Start Kong Dashboard
docker run --rm -p 8080:8080 pgbi/kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard on a custom port
docker run --rm -p [port]:8080 pgbi/kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard with basic auth
docker run --rm -p 8080:8080 pgbi/kong-dashboard start \--kong-url http://kong:8001--basic-auth user1=password1 user2=password2# See full list of start options
docker run --rm -p 8080:8080 pgbi/kong-dashboard start --help
?
Use (使用)
You can now browse Kong Dashboard at?http://localhost:8080?
?(您現在可以在http:// localhost:8080上瀏覽Kong Dashboard)
Contributing?(特別說明 )
If you consider contributing to Kong Dashboard by reporting a bug, or submitting a patch, please checkout the
contribution document?for guidance.
( 如果您考慮通過報告錯誤或提交補丁來貢獻 Kong Dashboard,請查看?貢獻文檔?以獲取指導。)
?
?
轉自 Docker 官網:https://hub.docker.com/r/pgbi/kong-dashboard/