From e863ebed9b5815a4aec819c9fbee3656d00f6d4c Mon Sep 17 00:00:00 2001 From: Julia McGhee Date: Fri, 20 Mar 2026 19:39:15 +0000 Subject: [PATCH] Set Longhorn default replica count to 1 for single-node cluster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With only one node, 2 replicas can never be scheduled — volumes report as degraded. Match the replica count to the node count. --- infra/kubernetes/platform/longhorn/application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/kubernetes/platform/longhorn/application.yaml b/infra/kubernetes/platform/longhorn/application.yaml index 5df02e5..a5bd0f3 100644 --- a/infra/kubernetes/platform/longhorn/application.yaml +++ b/infra/kubernetes/platform/longhorn/application.yaml @@ -18,7 +18,7 @@ spec: preUpgradeChecker: jobEnabled: false defaultSettings: - defaultReplicaCount: 2 + defaultReplicaCount: 1 defaultDataLocality: best-effort persistence: defaultClassReplicaCount: 2