-
Notifications
You must be signed in to change notification settings - Fork 3
/
.cluster.yml
57 lines (49 loc) · 1.28 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
---
- hosts: localhost
roles:
- { role: infra/k8s-cluster }
- hosts: master
gather_facts: false
become: yes
roles:
- { role: k8s/master }
- { role: cni }
- hosts: worker
gather_facts: false
become: yes
roles:
- { role: k8s/worker }
- hosts: master
gather_facts: false
become: yes
tasks:
- name: "Helm Role"
include_role:
name: k8s-addon/helm
when: additional_features.helm | bool
run_once: yes
- name: "Dashboard"
include_role:
name: k8s-addon/dashboard
when: enable_dashboard | bool
run_once: yes
- name: "NFS"
include_role:
name: k8s-addon/nfs-provisioner
when: additional_features.nfs_dynamic | bool
run_once: yes
- name: "Metric Server"
include_role:
name: k8s-addon/metric-server
when: additional_features.metric_server | bool
run_once: yes
- name: "ELK Logging"
include_role:
name: k8s-addon/logging_with_elk
when: additional_features.logging | bool
run_once: yes
- name: "Dynamic HostPath Persistent Volume Provisioning"
include_role:
name: k8s-addon/hostpath-dynamic-provisioning
when: additional_features.dynamic_hostpath_provisioning | bool
run_once: yes