From 92005d9b8661ebe505786afa04538d9a30a84497 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Sat, 6 Apr 2024 10:02:09 +0200 Subject: [PATCH] going back to local deployments of longhorn until correct mtu can be set for flannel --- infrastructure/04-longhorn/base/values.yaml | 18 +++++++++--------- infrastructure/04-longhorn/kustomization.yaml | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/infrastructure/04-longhorn/base/values.yaml b/infrastructure/04-longhorn/base/values.yaml index 1808596..da8738b 100644 --- a/infrastructure/04-longhorn/base/values.yaml +++ b/infrastructure/04-longhorn/base/values.yaml @@ -39,17 +39,17 @@ defaultSettings: # -- Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3". defaultReplicaCount: 1 -# systemManagedComponentsNodeSelector: "region:local" + systemManagedComponentsNodeSelector: "region:local" -# longhornManager: -# # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. -# nodeSelector: -# "region": "local" +longhornManager: + # -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager. + nodeSelector: + "region": "local" -# longhornDriverDeployer: -# # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. -# nodeSelector: -# "region": "local" +longhornDriverDeployer: + # -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI. + nodeSelector: + "region": "local" longhornUI: # -- Replica count for Longhorn UI. diff --git a/infrastructure/04-longhorn/kustomization.yaml b/infrastructure/04-longhorn/kustomization.yaml index 19334b5..5f6ccb0 100644 --- a/infrastructure/04-longhorn/kustomization.yaml +++ b/infrastructure/04-longhorn/kustomization.yaml @@ -3,6 +3,9 @@ kind: Kustomization namespace: longhorn-system +components: + - ../../components/local-region-selector.yaml + resources: - base/longhorn-ui-ingress.yaml