代码拉取完成,页面将自动刷新
ks
是 KubeSphere 的命令行客户端,可以简化用户、开发者的日常操作。
通过 brew 安装: brew install linuxsuren/linuxsuren/ks
通过 hd 安装:
brew install linuxsuren/linuxsuren/hd
hd install kubesphere-sigs/ks
以下的表述默认是以 KubeSphere 为上下文的:
kubernetes_type=k3s
操作 k3s
➜ ~ kubectl ks com
Manage the components of KubeSphere
Usage:
ks component [command]
Aliases:
component, com
Available Commands:
edit Edit the target component
enable Enable or disable the specific KubeSphere component
exec Execute a command in a container.
kill Kill the pods of the components
log Output the log of KubeSphere component
reset Reset the component by name
watch Update images of ks-apiserver, ks-controller-manager, ks-console
➜ ~ kubectl ks pip
Usage:
ks pipeline [flags]
ks pipeline [command]
Aliases:
pipeline, pip
Available Commands:
create Create a Pipeline in the KubeSphere cluster
delete Delete a specific Pipeline of KubeSphere DevOps
edit Edit the target pipeline
view Output the YAML format of a Pipeline
Flags:
-h, --help help for pipeline
Use "ks pipeline [command] --help" for more information about a command.
Install KubeSphere with kind or kk
Usage:
ks install [command]
Available Commands:
kind Install KubeSphere with kind
kk Install KubeSphere with kubekey (aka kk)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型