add extra mounts to all workers for openebs local

This commit is contained in:
Joseph Hanson 2024-09-05 01:03:54 -05:00
parent fb9ca1f9b0
commit 2f17e3f3bd
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -72,6 +72,17 @@ nodes:
machine: machine:
sysctls: sysctls:
vm.nr_hugepages: "1024" 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
@ -87,6 +98,7 @@ nodes:
machine: machine:
sysctls: sysctls:
vm.nr_hugepages: "1024" vm.nr_hugepages: "1024"
- *kubelet_extra_mounts
- hostname: rosie - hostname: rosie
disableSearchDomain: true disableSearchDomain: true
@ -102,6 +114,7 @@ nodes:
machine: machine:
sysctls: sysctls:
vm.nr_hugepages: "1024" 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
@ -116,17 +129,8 @@ nodes:
machine: machine:
sysctls: sysctls:
vm.nr_hugepages: "1024" vm.nr_hugepages: "1024"
- &kubelet_extra_mounts |- - *kubelet_extra_mounts
machine:
kubelet:
extraMounts:
- destination: /var/openebs/local
type: bind
source: /var/openebs/local
options:
- bind
- rshared
- rw
- hostname: shadowfax-01 - hostname: shadowfax-01
disableSearchDomain: true disableSearchDomain: true
ipAddress: 10.1.1.69 ipAddress: 10.1.1.69