-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.yaml
57 lines (56 loc) · 1.24 KB
/
config-sample.yaml
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
environment:
k8s_version: "1.23.1"
restore_cluster: false # Bring up existing kubernetes cluster (Ubuntu/Debian)
ssh_key: "<ssh public key for instances>"
servers:
# Instances naming mutually exclusive to restore_cluster property
# WHen restoring existing cluster, instances naming should match
# exactly the cluster nodes being restored
# When restore_cluster not defined or false, instance names can be any
# for new/empty clusters
cluster1-master1:
cluster_name: cluster1
role: controller
image: 20.04
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever
cluster1-worker1:
cluster_name: cluster1
role: worker
image: 20.04
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever
cluster1-worker2:
cluster_name: cluster1
role: controller
image: 20.04
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever
cluster2-master1:
cluster_name: cluster2
role: controller
image: 20.04
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever
cluster2-worker1:
cluster_name: cluster2
role: worker
image: 20.04
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever
terminal:
role: bastion
cpu: 2
mem: 2G
disk: 5G
domain_name: whatever