From 2f17e3f3bdc718bcf7001bb9633473376544b928 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 5 Sep 2024 01:03:54 -0500 Subject: [PATCH] add extra mounts to all workers for openebs local --- kubernetes/bootstrap/talos/talconfig.yaml | 26 +++++++++++++---------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/kubernetes/bootstrap/talos/talconfig.yaml b/kubernetes/bootstrap/talos/talconfig.yaml index 6d161d0a..ac731e6a 100644 --- a/kubernetes/bootstrap/talos/talconfig.yaml +++ b/kubernetes/bootstrap/talos/talconfig.yaml @@ -72,6 +72,17 @@ nodes: 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 disableSearchDomain: true @@ -87,6 +98,7 @@ nodes: machine: sysctls: vm.nr_hugepages: "1024" + - *kubelet_extra_mounts - hostname: rosie disableSearchDomain: true @@ -102,6 +114,7 @@ nodes: machine: sysctls: vm.nr_hugepages: "1024" + - *kubelet_extra_mounts - hostname: gandalf-01 disableSearchDomain: true ipAddress: 10.1.1.68 @@ -116,17 +129,8 @@ nodes: 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 + - *kubelet_extra_mounts + - hostname: shadowfax-01 disableSearchDomain: true ipAddress: 10.1.1.69