更新时间:2025-04-18 GMT+08:00
ccictl
操作背景
ccictl 用于控制CCI 2.0集群管理器。
ccictl [flag]
选项
--cache-dir string 默认值:"$HOME/.kubev2/cache"
默认缓存目录。
--cliconfig string
CLI 请求要使用的 cliconfig 文件的路径。
--cluster string
要使用的 cliconfig 中的集群名称。
--context string
要使用的 cliconfig 上下文的名称。
--insecure-skip-tls-verify
如果为 true,则不检查服务器证书的有效性。
-n, --namespace string
如果存在,则是此 CLI 请求的命名空间范围。
--password string
对 API 服务器进行基本身份验证所用的密码。
--request-timeout string 默认值:"0"
在放弃某个服务器请求之前等待的时长。非零值应包含相应的时间单位(例如 1s、2m、3h)。 值为零表示请求不会超时。
-s, --server string
API 服务器的地址和端口。
--token string
向 API 服务器进行身份验证的持有者令牌。
--user string
要使用的 cliconfig 用户的名称。
--username string
对 API 服务器进行基本身份验证时所用的用户名。
-v, --v int
指定本次命令的日志等级,数字越大打印的日志细节越多。
父主题: 命令行工具(ccictl)