一个实用程序,用于检查以sysadmins为目标的正在运行的zenko集群的配置
zcheck的Python项目详细描述
zcheck是一个命令行实用程序,用于检查 生产Zenko部署并诊断其中的问题。
先决条件
zcheck需要一个Helm 配置为访问内部运行的舵柄的安装 库伯内特斯。
安装
zcheck可以使用pip从pypi直接安装:
pip install zcheck
为了方便起见,还提供了Docker图像。
docker pull zenko/zcheck:latest docker run -it zenko/zcheck help
语法
zcheck命令符合以下语法:
zcheck <global option> <subcommand> <-flag or --verbose_option> <optional target>
全局选项
--mongo Override the default Mongo connection string (host:port) -r, --helm-release The Helm release name under which Zenko was installed.
子命令
检查
运行所有检查和测试(可能需要一段时间)。
k8s
检查kubernetes相关配置。
-c, --check-services Attempt to connect to defined services and report their status.
轨道
检查通过轨道应用的覆盖配置。
后端
检查后端桶的存在和配置。
-d, --deep Enable deep checking. Check every Zenko bucket for its backing bucket (same as zcheck buckets)
桶
检查每个zenko bucket的后端bucket。