-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcluster.yml
executable file
·99 lines (87 loc) · 1.77 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
- name: install python interpreter to coreos
hosts: k8s-nodes
remote_user: core
gather_facts: False
roles:
- aaron.coreos-bootstrap
tags: k8s_installpython
- name: k8s - deploy private registry ca...
hosts: k8s-nodes
become: true
gather_facts: False
roles:
- k8s_deploy_ca
tags: k8s_deploy_ca
- name: prepare rkt images
hosts: k8s-nodes
become: true
gather_facts: False
roles:
- "{{ prepare }}"
tags: "{{ prepare }}"
# This is used to generated certificate on localhost.
- name: k8s - generate certificates...
hosts: localhost
gather_facts: False
roles:
- ssl_certs
tags: gen_cert
- name: k8s - check etcd...
hosts: k8s-etcds
become: true
gather_facts: False
roles:
- k8s_etcd
tags: k8s_etcd
- name: k8s - install network...
hosts: k8s-nodes
become: true
roles:
- k8s_network
tags: k8s_network
- name: k8s - install docker...
hosts: k8s-nodes
become: true
gather_facts: False
roles:
- k8s_docker
tags: k8s_docker
- name: k8s - install master component...
hosts: k8s-masters
become: true
roles:
- k8s_master
tags: k8s_master
- name: k8s - install work component...
hosts: k8s-workers
gather_facts: False
become: true
roles:
- k8s_worker
tags: k8s_worker
- name: k8s - install kubelet...
hosts: k8s-nodes
become: true
gather_facts: False
roles:
- k8s_kubelet
tags: k8s_kubelet
- name: k8s - wait and verify...
hosts: k8s-masters
gather_facts: False
roles:
- k8s_master_verifier
tags: k8s_master_verifier
- name: k8s - install admin...
hosts: k8s-admin
gather_facts: False
roles:
- k8s_admin
tags: k8s_admin
- name: k8s - install addon (dns, dashboard)...
hosts: k8s-admin
gather_facts: False
roles:
- k8s_addon
tags: k8s_addon