condense some config and apply local kubelet mounts to all nodes.
This commit is contained in:
parent
33eefa1fdc
commit
12ae9b0780
1 changed files with 21 additions and 51 deletions
|
@ -22,11 +22,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
|
|
||||||
- hostname: frodo
|
- hostname: frodo
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -37,11 +32,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
|
|
||||||
- hostname: sam
|
- hostname: sam
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -52,11 +42,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
|
|
||||||
- hostname: pippin
|
- hostname: pippin
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -67,22 +52,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
- &kubelet_extra_mounts |-
|
|
||||||
machine:
|
|
||||||
kubelet:
|
|
||||||
extraMounts:
|
|
||||||
- destination: /var/openebs/local
|
|
||||||
type: bind
|
|
||||||
source: /var/openebs/local
|
|
||||||
options:
|
|
||||||
- bind
|
|
||||||
- rshared
|
|
||||||
- rw
|
|
||||||
|
|
||||||
- hostname: merry
|
- hostname: merry
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -93,12 +62,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
- *kubelet_extra_mounts
|
|
||||||
|
|
||||||
- hostname: rosie
|
- hostname: rosie
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -109,12 +72,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: eno1
|
- interface: eno1
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
- *kubelet_extra_mounts
|
|
||||||
- hostname: gandalf-01
|
- hostname: gandalf-01
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
ipAddress: 10.1.1.68
|
ipAddress: 10.1.1.68
|
||||||
|
@ -124,12 +81,6 @@ nodes:
|
||||||
networkInterfaces:
|
networkInterfaces:
|
||||||
- interface: enp5s0
|
- interface: enp5s0
|
||||||
dhcp: true
|
dhcp: true
|
||||||
patches:
|
|
||||||
- |-
|
|
||||||
machine:
|
|
||||||
sysctls:
|
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
- *kubelet_extra_mounts
|
|
||||||
|
|
||||||
- hostname: shadowfax-01
|
- hostname: shadowfax-01
|
||||||
disableSearchDomain: true
|
disableSearchDomain: true
|
||||||
|
@ -145,8 +96,6 @@ nodes:
|
||||||
machine:
|
machine:
|
||||||
sysctls:
|
sysctls:
|
||||||
net.core.bpf_jit_harden: 1
|
net.core.bpf_jit_harden: 1
|
||||||
vm.nr_hugepages: "1024"
|
|
||||||
- *kubelet_extra_mounts
|
|
||||||
|
|
||||||
kernelModules:
|
kernelModules:
|
||||||
- name: nvidia
|
- name: nvidia
|
||||||
|
@ -171,6 +120,23 @@ worker:
|
||||||
- siderolabs/intel-ucode
|
- siderolabs/intel-ucode
|
||||||
- siderolabs/i915-ucode
|
- siderolabs/i915-ucode
|
||||||
patches:
|
patches:
|
||||||
|
# hugepages
|
||||||
|
- &hugepages |-
|
||||||
|
machine:
|
||||||
|
sysctls:
|
||||||
|
vm.nr_hugepages: "1024"
|
||||||
|
# Kubelet local mount
|
||||||
|
- &kubelet_extra_mounts |-
|
||||||
|
machine:
|
||||||
|
kubelet:
|
||||||
|
extraMounts:
|
||||||
|
- destination: /var/openebs/local
|
||||||
|
type: bind
|
||||||
|
source: /var/openebs/local
|
||||||
|
options:
|
||||||
|
- bind
|
||||||
|
- rshared
|
||||||
|
- rw
|
||||||
# Configure containerd
|
# Configure containerd
|
||||||
- &containerd |-
|
- &containerd |-
|
||||||
machine:
|
machine:
|
||||||
|
@ -247,6 +213,10 @@ controlPlane:
|
||||||
- siderolabs/intel-ucode
|
- siderolabs/intel-ucode
|
||||||
- siderolabs/i915-ucode
|
- siderolabs/i915-ucode
|
||||||
patches:
|
patches:
|
||||||
|
# hugepages
|
||||||
|
- *hugepages
|
||||||
|
# Kubelet local mount
|
||||||
|
- *kubelet_extra_mounts
|
||||||
# Disable search domain everywhere
|
# Disable search domain everywhere
|
||||||
- *searchDomain
|
- *searchDomain
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue