-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvars.yml
More file actions
54 lines (49 loc) · 1.5 KB
/
vars.yml
File metadata and controls
54 lines (49 loc) · 1.5 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
---
# ----------------------------------------------------
# VMs for K3s
vm_group: b_k3s
source_image_url: https://cloud-images.ubuntu.com/releases/22.04/release-20240416/ubuntu-22.04-server-cloudimg-amd64.img
source_vm_name: ubuntu-22.04-server-cloudimg-amd64.img
source_machine_type: BIOS
vcpu: 4
memory: "{{ '2 GB' | human_to_bytes }}"
disk_size: "{{ '20 GB' | human_to_bytes }}"
vm_network_netmask: 255.255.255.0
vm_network_gateway: 172.31.6.1
vm_network_dns_nameservers:
- 8.8.8.8
- 1.1.1.1
vm_ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE8SNzKoqj89P6Z9kiYEhgbDogY0Y7YXSS68W2B5b2u7 justin_cinkelj@jcnuc
vm_ssh_import_id: []
server_ip_addresses:
- 172.31.6.30
- 172.31.6.31
- 172.31.6.32
# - 172.31.6.33
# - 172.31.6.34
agent_ip_addresses:
- 172.31.6.40
- 172.31.6.41
- 172.31.6.42
# - 172.31.6.43
load_balancer_addresses:
- 172.31.6.50-172.31.6.58
- 172.31.6.59/32
vm_network_mode: static
# ----------------------------------------------------
# NFS server
nfs_ip_address: 172.31.6.29
nfs_data_dir: /nfsdata
# ----------------------------------------------------
# Optional K3s components
k3s_external_dns_enabled: true
k3s_external_dns_domain: example.com
# ----------------------------------------------------
# vars mandatory for k3s.orchestration.site
# ansible_port: 22
# ansible_user: debian
k3s_version: v1.29.3+k3s1
api_endpoint: "{{ hostvars[groups['server'][0]]['ansible_host'] | default(groups['server'][0]) }}"
extra_server_args: "--disable=servicelb"
extra_agent_args: ""