-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhosts
43 lines (38 loc) · 1.18 KB
/
hosts
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
[local]
localhost ansible_connection=local
[k8s_cplb]
# Define control plane load balancer nodes here.
# These nodes will run nginx + keepalived to load balance
# control plane traffic to your k8s masters.
# They don't have to be the same nodes as k8s masters, but
# in most cases they will be
daisy ansible_user=pi pi_gpu_mem=16
buttercup ansible_user=pi pi_gpu_mem=16
milkshake ansible_user=pi pi_gpu_mem=16
[k8s_leader]
# The first master (control plane) node
# to get initialised. This may seem like
# an arbitrary distinction, but kubeadm
# treats them differently.
# Only one node can be defined here.
daisy ansible_user=pi pi_gpu_mem=16
[k8s_masters]
# Other master nodes.
# Will be initialised after k8s_leader
milkshake ansible_user=pi pi_gpu_mem=16
buttercup ansible_user=pi pi_gpu_mem=16
[k8s_workers]
# Worker nodes. They may or may not be
# The same as the master nodes.
# In production, the masters and workers
# should be on seperate nodes
daisy ansible_user=pi pi_gpu_mem=16
buttercup ansible_user=pi pi_gpu_mem=16
milkshake ansible_user=pi pi_gpu_mem=16
meatloaf ansible_user=pi pi_gpu_mem=16
[k8s:children]
# Don't touch this part
k8s_cplb
k8s_leader
k8s_masters
k8s_workers