ks是KubeSphere的命令行客户端,可以简化用户、开发者的日常操作。
Getstarted通过brew安装:brewistallliuxsure/liuxsure/ks 通过hd安装:hdistallliuxsure/ks
特色功能以下的表述默认是以KubeSphere为上下文的:
组件管理启用、禁用组件手动(或自动)更新指定组件输出组件日志编辑组件查看组件的事件(也就是命令kubectldescribe的包装)流水线管理通过java,go等模板创建流水线编辑流水线重置用户密码支持通过设置环境变量kuberetes_type=k3s操作k3s安装KubeSphere通过ks-istaller安装通过k3d安装通过kubekey安装通过kid安装组件➜~kubectlkscomMaagethecompoetsofKubeSphere Usage:kscompoet[commad] Aliases:compoet,com AvailableCommads:editEditthetargetcompoeteableEableordisablethespecificKubeSpherecompoetexecExecuteacommadiacotaier.killKillthepodsofthecompoetslogOutputthelogofKubeSpherecompoetresetResetthecompoetbyamewatchUpdateimagesofks-apiserver,ks-cotroller-maager,ks-cosole流水线➜~kubectlkspipUsage:kspipelie[flags]kspipelie[commad] Aliases:pipelie,pip AvailableCommads:createCreateaPipelieitheKubeSphereclusterdeleteDeleteaspecificPipelieofKubeSphereDevOpseditEditthetargetpipelieviewOutputtheYAMLformatofaPipelie Flags:-h,--helphelpforpipelie Use"kspipelie[commad]--help"formoreiformatioaboutacommad.安装IstallKubeSpherewithkidorkk Usage:ksistall[commad] AvailableCommads:kidIstallKubeSpherewithkidkkIstallKubeSpherewithkubekey(akakk)
评论