-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.yml
63 lines (56 loc) · 965 Bytes
/
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: Prepare system
become: true
hosts: all
roles:
- prepare_system
tags:
- prepare_system
- name: Install CRI
become: true
hosts: all
roles:
- install_cri
tags:
- install_cri
- name: Install Kubernetes packages
become: true
hosts: all
roles:
- install_k8s_packages
tags:
- install_k8s_packages
- name: Install Helm
become: true
hosts: controller
roles:
- install_helm
tags:
- install_helm
- name: Init cluster
become: true
hosts: controller[0]
roles:
- init_cluster
tags:
- init_cluster
- name: Install Calico CNI
become: true
hosts: controller[0]
roles:
- install_calico
tags:
- install_calico
- name: Acquire join credentials
become: true
hosts: controller[0]
roles:
- acquire_join_credentials
tags:
- acquire_join_credentials
- name: Join nodes
become: true
hosts: all:!controller[0]
roles:
- join_nodes
tags:
- join_nodes