一飞开源,介绍创意、新奇、有趣、实用的开源应用、系统、软件、硬件及技术,一个探索、发现、分享、使用与互动交流的开源技术社区平台。致力于打造活力开源社区,共建开源新生态!
一、开源项目简介
一个漂亮的、轻量的、可私有化部署的 ETCD V3 客户端,支持SSL、SSH Tunnel连接,支持多账户 session 管理。
二、开源协议使用Apache-2.0开源协议
三、界面展示截图本工具提供黑色和白色两种主题


集群管理

Key管理

提供树状视图

Key编辑器

支持版本对比

用户管理

角色管理


首先需确保你的本地环境拥有 JDK 11及以上的版本,前往 release 下载最新的 jar 包后执行:
java -jar etcd-workbench.jar浏览器中访问http://localhost:8002
私有部署文档配置文件部署的配置很简单,仅需一个配置文件,并且配置内容也非常少。
etcd-workbench.conf
[server]# Configure the port the service will run on.port = 8002# Configure the timeout for executing instructions to ETCD server, in milliseconds.etcdExecuteTimeoutMillis = 3000# Configure data storage directory.dataDir = ./data# If Authentication is turned on, in order to ensure that user data is not easily cracked,# configure the data signature key to encrypt and protect it. It must be 16 characters.configEncryptKey = etcdWorkbench@*?[auth]# If set to true, user must log in to use etcd workbench, and add the user field to configure the user.# If set to false, all connection data can be used and shared by anyone!!!enable = false# If enabled authentication, add username and password with `user` field.# Supports repeatedly adding multiple `user` fields.user = username1:password1user = username2:password2[log]# Base log levellevel = INFO# Customize the log level of the specified path.levels = io.netty:INFO,io.grpc:INFO# Configure log storage directory.file = ./logs# Configure log file name.fileName = etcd-workbench# Configure the log file rolling size. When this size is exceeded, a new file will be created to store the log.# Unit MBfileLimitSize = 10# Support: `std` and `file`printers = std,file本地部署首先需确保你的本地环境拥有 JDK 11+ 的版本,前往 release 下载最新的 jar 包,将配置文件 etcd-workbench.conf 放到和 jar 包同级目录即可生效,执行启动:
java -jar etcd-workbench.jar浏览器中访问http://localhost:8002
Docker中部署拉取Docker镜像
docker pull tzfun/etcd-workbench启动容器
docker run \ --name my-etcd-workbench \ -p 8002:8002 \ -v ./etcd-workbench.conf:/usr/tzfun/etcd-workbench/etcd-workbench.conf \ -d \ tzfun/etcd-workbench:latest镜像的工作目录在 /usr/tzfun/etcd-workbench,其目录结构如下
/usr/tzfun/etcd-workbench # tree├── bin├── data├── logs├── temp├── etcd-workbench.conf└── etcd-workbench.jar六、源码地址访问一飞开源:https://code.exmay.com/