Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥🐳
Go to file
zuoxuesong-worker ba8507a0ef
feat: add kylin v10-sp1/sp2 (#2861)
* feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

* feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

feat: add kylin v10-sp1/sp2

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>

---------

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-20 10:44:37 +08:00
.github feat: add kylin v10-sp1/sp2 (#2861) 2025-11-20 10:44:37 +08:00
api fix: change builtin/core architectures (#2718) 2025-08-22 21:59:40 +08:00
build Uninstall docker interface (#2478) 2025-03-05 18:55:12 +08:00
builtin bugfix : fix secure path set in centos (#2757) 2025-09-10 17:20:39 +08:00
cmd bugfix : fix --with-kubernetes not affect (#2759) 2025-09-11 14:47:39 +08:00
config fix: more clear error (#2694) 2025-08-12 03:07:45 +00:00
docs bugfix:change k8s default config image tags (#2736) 2025-08-29 05:44:59 +00:00
exp feat: kubekey gitops 2024-01-05 15:14:36 +08:00
hack feat: add kylin v10-sp1/sp2 (#2861) 2025-11-20 10:44:37 +08:00
kubernetes-app Uninstall docker interface (#2478) 2025-03-05 18:55:12 +08:00
pkg bugfix : fix issue 6796 (#2752) 2025-09-08 11:07:36 +08:00
plugins feat: More detailed init-os rules (#2563) 2025-05-13 09:25:01 +00:00
scripts feat: install image_registry (#2640) 2025-06-26 17:48:18 +08:00
version feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
.dockerignore Uninstall docker interface (#2478) 2025-03-05 18:55:12 +08:00
.gitignore Uninstall docker interface (#2478) 2025-03-05 18:55:12 +08:00
.go-version Uninstall docker interface (#2478) 2025-03-05 18:55:12 +08:00
.golangci.yaml feat: enhance precheck tasks for image registry and network validation (#2676) 2025-08-04 15:27:22 +08:00
.goreleaser.yaml feat: enhance precheck tasks for image registry and network validation (#2676) 2025-08-04 15:27:22 +08:00
CONTRIBUTORS.md feat: kubekey gitops 2024-01-05 15:14:36 +08:00
LICENSE feat: kubekey gitops 2024-01-05 15:14:36 +08:00
Makefile fix: change pipeline to playbook (#2512) 2025-03-24 09:51:03 +08:00
OWNERS Update OWNERS 2025-08-19 10:35:27 +08:00
README.md docs: builtin docs (#2626) 2025-06-18 09:29:32 +00:00
go.mod feat: enhance precheck tasks for image registry and network validation (#2676) 2025-08-04 15:27:22 +08:00
go.sum feat: add web api (#2591) 2025-05-26 09:36:13 +00:00

背景

当前kubekey中如果要添加命令或修改命令都需要提交代码并重新发版。扩展性较差。

  1. 任务与框架分离优势目的更方便扩展借鉴ansible的playbook设计
  2. 支持gitops可通过git方式管理自动化任务
  3. 支持connector扩展
  4. 支持云原生方式自动化批量任务管理

安装kubekey

kubernetes中安装

helm upgrade --install --create-namespace -n kubekey-system kubekey kubekey-1.0.0.tgz

然后通过创建 InventoryPlaybook 资源来执行命令
Inventory: 任务执行的host清单. 用于定义与host相关, 与任务模板无关的变量. 详见参数定义
Playbook: playbook的配置信息在哪些host中执行执行哪个playbook文件 执行时参数等等。

二进制执行

可直接用二进制在命令行中执行命令

kk run -i inventory.yaml -c config.yaml playbook.yaml

运行命令后, 会在工作目录的runtime下生成对应的 InventoryPlaybook 资源

文档

项目模版编写规范
模板语法
参数定义
集群管理