summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-k8s-ctrl.yml
blob: 232963b2fef5556a04dc8b341e6afb97bbff131d (plain) (blame)
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
---
system_lvm_volume_size_root: 3G
install:
  vm:
    memory: 4G
    numcpus: 4
    autostart: True
  disks:
    primary: /dev/sda
    scsi:
      sda:
        type: zfs
        name: root
        size: 20g
        properties:
          'syncoid:sync': 'false'
  interfaces:
  - bridge: br-lan
    name: lan0

network:
  nameservers: "{{ network_zones.lan.dns }}"
  domain: "{{ host_domain }}"
  systemd_link:
    interfaces: "{{ install.interfaces }}"
  primary: &_network_primary_
    name: lan0
    address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_


spreadspace_apt_repo_components:
  - container


containerd_storage:
  type: lvm
  vg: "{{ host_name }}"
  lv: containerd
  size: 7G
  fs: ext4

kubelet_storage:
  type: lvm
  vg: "{{ host_name }}"
  lv: kubelet
  size: 5G
  fs: ext4