forked from kubeop/k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.yml
63 lines (55 loc) · 1.09 KB
/
cluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
- name: "Verify Settings"
hosts: haproxy etcd master worker
roles:
- role: verify
tags: verify
- name: "Generate Certs"
hosts: localhost
connection: local
roles:
- role: cert
tags: cert
- name: "Set System Init"
hosts: haproxy etcd master worker
roles:
- role: init
tags: init
- name: "Set Haproxy + Keepalived"
hosts: haproxy
roles:
- role: haproxy
tags: haproxy
- role: keepalived
tags: keepalived
- name: "Set Etcd Cluster"
hosts: etcd
roles:
- role: etcd
tags: etcd
- name: "Set Control Plane Nodes"
hosts: master
roles:
- role: master
tags: master
- name: "Set Worker Nodes"
hosts: master worker
roles:
- role: containerd
tags: containerd
- role: cri-tools
tags: cri-tools
- role: cni-plugins
tags: cni-plugins
- role: worker
tags: worker
- name: "Set Container Networking Plugins"
hosts: master[0]
roles:
- role: network-plugins
tags: network-plugins
- name: "Set Kubernetes Addons"
hosts: master[0]
roles:
- role: addons
tags: addons