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 versionsKong versionsNode versions
1.x.x0.6, 0.7, 0.8, 0.9 
2.x.x0.10 
3.0.x0.9, 0.10, 0.11>= 6.0.0
3.1.x, 3.2.x0.9, 0.10, 0.11, 0.12>= 6.0.0
3.3.x0.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:  (你会需要:)

  1. a running Kong gateway. https://getkong.org/install/
  2. 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/

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐