【文件属性】:
文件名称:ktx:管理kubernetes集群配置
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-03 12:09:59
Shell
ktx
概述
当您有多个集群和上下文之间进行切换时,管理kubeconfig文件可能会变得乏味。 ktx旨在减少各种配置之间切换引起的摩擦。
ktx采用修改KUBECONFIG环境变量的方法来选择所需的配置。
入门
先决条件
您的外壳是bash或zsh。
git已安装。
安装
# Clone the ktx repo
git clone https://github.com/heptiolabs/ktx
cd ktx
# Install the bash function
cp ktx " ${HOME} " /.ktx
# Add this to your "${HOME}/".bash_profile (or similar)
source " ${HOME} " /.ktx
# Install the auto-completion
cp ktx-completion.sh "
【文件预览】:
ktx-master
----ktx(2KB)
----ss.png(15KB)
----CONTRIBUTING.md(2KB)
----LICENSE(11KB)
----CODE-OF-CONDUCT.md(2KB)
----README.md(2KB)
----ktx-completion.sh(885B)