-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.yml
64 lines (50 loc) · 889 Bytes
/
init.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
---
- name: Init Cluster Node
hosts: init_node
remote_user: root
roles:
- hostname
- kernel
- basic
- docker
- kubernetes
- name: Download Worker Images
hosts: init_node
remote_user: root
roles:
- image
- name: Init Etcd Cluster
hosts: all_master
remote_user: root
roles:
- etcd
- name: Download Master Images
hosts: all_master
remote_user: root
roles:
- masterImage
- name: Init Kubernetes Cluster
hosts: first_master
remote_user: root
roles:
- init
- name: Join Master Node
hosts: init_master
remote_user: root
roles:
- master
- name: Join Worker Node
hosts: init_worker
remote_user: root
roles:
- worker
- name: Deploy Calico NIC
hosts: first_master
remote_user: root
roles:
- calico
- name: 部署 Metrics
hosts: first_master
remote_user: root
roles:
- metrics