选项 | 说明 |
---|---|
users | 用户帐号及其认证信息列表 |
clusters | 目标集群列表 |
contexts | 以哪个user接入哪个clustere的连接组合 |
curren-context | 当前使用的context,当前上下文,它可以进行切换 用户@上下文 |
参数 | 说明 |
---|---|
set-cluster | 添加集群 |
set-context | 添加一个上下文 |
set-credentials | 添加用户信息 |
set | 添加集群、添加用户、添加上下文 |
use-context | 指定当前使用的上下文 |
view | 查看当前配置 |