1 Star 0 Fork 7

tenglongfly/kubeasy

forked from buxiaomo/kubeasy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
upgrade.yml 954 Bytes
一键复制 编辑 原始数据 按行查看 历史
buxiaomo 提交于 2022-08-25 17:13 . use kube_runtime
---
- name: Base environment configuration
hosts: all
roles:
- prepare
- motd
- chrony
- name: Certificate of the cluster
hosts: all
become: yes
roles:
- ca
- name: Deployment etcd cluster
serial: 1
hosts: "{% if groups['etcd'] is not defined %}master{% else %}etcd{% endif %}"
become: yes
roles:
- etcd
- name: Initialization kubernetes dependence
hosts: kubernetes
become: yes
roles:
- cni
- ipvsadm
- name: Deployment kube master
serial: 1
hosts: master
roles:
- "{{ KUBE_RUNTIME }}"
- kubectl
- kube-apiserver
- kube-scheduler
- kube-controller-manager
- kubelet
- kube-proxy
- cleanup
- name: Deployment kube worker
serial: 1
hosts: worker
roles:
- kubectl
- kubelet
- "{{ KUBE_RUNTIME }}"
- kube-proxy
- cleanup
- name: Deployment kubernetes add-on
hosts: master
become: true
any_errors_fatal: true
roles:
- add-on
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tenglongfly/kubeasy.git
git@gitee.com:tenglongfly/kubeasy.git
tenglongfly
kubeasy
kubeasy
main

搜索帮助