-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.yml
53 lines (48 loc) · 879 Bytes
/
setup.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
- hosts:
- kube-master
- kube-node
vars_files: group_vars/global.yml
roles:
- prepare
- sys
- hosts: 127.0.0.1
name: local generate certificate
become: false
connection: local
vars_files: group_vars/global.yml
roles:
- certs
- hosts:
- etcd
vars_files: group_vars/global.yml
roles:
- etcd
- hosts:
- kube-master
- kube-node
vars_files: group_vars/global.yml
roles:
- kube-nginx
- hosts:
- kube-master
vars_files: group_vars/global.yml
roles:
- kube-apiserver
- kubectl
- kube-controller-manager
- kube-scheduler
- hosts:
- kube-master
- kube-node
vars_files: group_vars/global.yml
roles:
- containerd
- kubelet
- kube-proxy
- hosts: 127.0.0.1
become: false
connection: local
vars_files: group_vars/global.yml
roles:
- cni
- coredns