-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdeploy.yml
43 lines (35 loc) · 849 Bytes
/
deploy.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
- hosts: localhost
gather_facts: false
roles:
- {role: download, tags: download}
- hosts: kube-cluster
roles:
- {role: cri, tags: cri}
- hosts: localhost
gather_facts: false
roles:
- {role: etcd/pki, tags: ["etcd-pki", "all-pki"]}
- hosts: etcd
gather_facts: false
roles:
- {role: etcd/etcd, tags: etcd}
- hosts: localhost
gather_facts: false
roles:
- {role: k8s/pki, tags: ["k8s-pki", "all-pki"]}
- hosts: kube-master
gather_facts: false
roles:
- {role: k8s/master, tags: master}
- hosts: kube-cluster
roles:
- {role: k8s/sys-setup, tags: node}
- {role: k8s/node, tags: node}
- hosts: kube-master
gather_facts: false
roles:
- {role: addons/network/flannel, tags: ["network", "addons"]}
- hosts: kube-master
gather_facts: false
roles:
- {role: addons/coredns, tags: ["coredns", "addons"]}