From 84a8048a0ca45aa7d7986aff98aa459bb8387cb5 Mon Sep 17 00:00:00 2001 From: Edward Hope-Morley Date: Wed, 25 Mar 2026 13:47:28 +0000 Subject: [PATCH] SET-2036 k8s ceph-csi requires at least 3 workers --- kubernetes/pipeline/02configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kubernetes/pipeline/02configure b/kubernetes/pipeline/02configure index 72274a6..5cd7221 100644 --- a/kubernetes/pipeline/02configure +++ b/kubernetes/pipeline/02configure @@ -131,6 +131,9 @@ do # Deploying CDK as opposed to Canonical K8s ;; --ceph) + if ((MOD_PARAMS[__NUM_K8S_WORKER_UNITS__]<3)); then + MOD_PARAMS[__NUM_K8S_WORKER_UNITS__]=3 + fi conflicts_with $1 --rook-ceph MOD_OVERLAYS+=( "ceph/ceph.yaml" ) MOD_OVERLAYS+=( "ceph/ceph-juju-storage.yaml" )