• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ks: KubeSphere 命令行客户端,用户通过命令行可以在 KubeSphere 上创建流水线、启用 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ks

开源软件地址:

https://gitee.com/linuxsuren/ks

开源软件介绍:

Gitpod ready-to-codeContributorsGitHub releaseGitHub All Releases

ks

ksKubeSphere 的命令行客户端,可以简化用户、开发者的日常操作。

Get started

通过 brew 安装: brew install linuxsuren/linuxsuren/ks

通过 hd 安装:

brew install linuxsuren/linuxsuren/hdhd install kubesphere-sigs/ks

特色功能

以下的表述默认是以 KubeSphere 为上下文的:

  • 组件管理
    • 启用、禁用组件
    • 手动(或自动)更新指定组件
    • 输出组件日志
    • 编辑组件
    • 查看组件的事件(也就是命令 kubectl describe 的包装)
  • 流水线管理
    • 通过 java, go 等模板创建流水线
    • 编辑流水线
  • 重置用户密码
  • 支持通过设置环境变量 kubernetes_type=k3s 操作 k3s
  • 安装 KubeSphere

组件

➜  ~ kubectl ks comManage the components of KubeSphereUsage:  ks component [command]Aliases:  component, comAvailable 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 pipUsage:  ks pipeline [flags]  ks pipeline [command]Aliases:  pipeline, pipAvailable 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 PipelineFlags:  -h, --help   help for pipelineUse "ks pipeline [command] --help" for more information about a command.

安装

Install KubeSphere with kind or kkUsage:  ks install [command]Available Commands:  kind        Install KubeSphere with kind  kk          Install KubeSphere with kubekey (aka kk)

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap