-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfleet.example.yaml
More file actions
83 lines (76 loc) · 1.61 KB
/
Copy pathfleet.example.yaml
File metadata and controls
83 lines (76 loc) · 1.61 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
# Source of truth for exe.dev VM allocation.
#
# nodes = number of exe.dev VMs reserved for this project/task pool.
# replicas = default Kubernetes Pod replica count for workloads in this pool.
# isolated = whether to add a NoSchedule taint so only matching workloads run here.
# cpu / memory = optional VM sizing forwarded to `new --cpu` / `new --memory`;
# pool-level values override defaults.
# tags = optional exe.dev VM tags forwarded to `new --tag` (distinct from
# Kubernetes labels); pool-level tags are appended to defaults.tags.
cluster:
name: exedev-main
controlPlane:
nodes: 1
vmPrefix: k8s-ctl
workerVmBudget: 19
defaults:
network: tailscale
kubernetes: k3s
image: exeuntu
isolated: true
# cpu: 2
# memory: 4GB
# tags:
# - k8s
projects:
project1:
tasks:
a:
nodes: 1
replicas: 1
vmPrefix: p1-a
# cpu: 4
# memory: 16GB
# tags:
# - prod
b:
nodes: 2
replicas: 2
vmPrefix: p1-b
project2:
tasks:
a:
nodes: 1
replicas: 1
vmPrefix: p2-a
b:
nodes: 5
replicas: 5
vmPrefix: p2-b
c:
nodes: 1
replicas: 1
vmPrefix: p2-c
project3:
tasks:
a:
nodes: 1
replicas: 1
vmPrefix: p3-a
b:
nodes: 2
replicas: 2
vmPrefix: p3-b
sparePools:
shared:
nodes: 2
vmPrefix: shared
isolated: false
labels:
exedev.dev/purpose: shared
ingress:
nodes: 1
vmPrefix: ingress
isolated: true
labels:
exedev.dev/role: ingress