加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
upgrade.yml 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
buxiaomo 提交于 2021-06-16 17:42 . add clean csr file
---
- name: Base environment configuration
hosts: all
roles:
- common
- chrony
tags:
- common
- name: Certificate of the cluster
hosts: all
become: yes
roles:
- ca
tags:
- ca
- name: Deployment etcd cluster
serial: 1
hosts: "{% if groups['etcd'] is not defined %}master{% else %}etcd{% endif %}"
become: yes
roles:
- etcd
tags:
- etcd
- name: Initialization kubernetes dependence
hosts: kubernetes
become: yes
roles:
- cni
- ipvsadm
- name: Deployment kube master
serial: 1
hosts: master
roles:
- "{% if RUNTIME == 'docker' %}docker{% else %}containerd{% endif %}"
- kubectl
- kube-apiserver
- kube-scheduler
- kube-controller-manager
- kubelet
- kube-proxy
tags:
- kube-master
- name: Deployment kube worker
serial: 1
hosts: worker
roles:
- "{% if RUNTIME == 'docker' %}docker{% else %}containerd{% endif %}"
- kubectl
- kubelet
- kube-proxy
tags:
- kube-worker
- name: Clean up the data
hosts: all
roles:
- cleanup
tags:
- cleanup
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化