-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.yml
71 lines (60 loc) · 1.3 KB
/
install.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
---
#Setup k8s ssl keys
- hosts: k8s_ssl
roles:
- {role: setup_ssl}
tags: ca
#Setup common k8s linux env
- hosts: k8s_cluster
roles:
- {role: setup_hostname}
- {role: setup_k8s_common}
- {role: setup_k8s_docker}
#Setup master and nodes without startup
- hosts: k8s_masters
roles:
- {role: setup_master}
- hosts: k8s_nodes
roles:
- {role: setup_node}
#Startup master and node
- hosts: k8s_masters
roles:
- {role: setup_master_startup}
- hosts: k8s_nodes
roles:
- {role: setup_flannel}
- {role: setup_node_startup}
# Setup NFS for PV,PVC
- hosts: nfs_server
roles:
- {role: setup_nfsserver}
- hosts: nfs_client
roles:
- {role: setup_nfsclient}
# Setup addons
- hosts: k8s_nodes
roles:
- {role: setup_istio_common}
- {role: setup_istio_node}
- hosts: k8s_masters
roles:
- {role: setup_addons}
- {role: setup_istio_common}
- {role: setup_istio_master}
- {role: setup_addons_start}
- hosts: board
roles:
- {role: setup_common_docker_compose}
- {role: setup_common_docker}
- {role: setup_board_install}
- hosts: registry_server
roles:
- {role: setup_common_docker}
- {role: setup_registry}
- hosts: jenkins_node
roles:
- {role: setup_jenkins_node}
- hosts: edgecloud
roles:
- {role: setup_edgecloud}