From 15b4bf1344e65d2756962c7f98ebb426ef960f75 Mon Sep 17 00:00:00 2001 From: Luke Repko Date: Fri, 10 May 2024 13:54:48 -0500 Subject: [PATCH] fix: Make 5 replicas the default Many recovery issues have been observed when losing a node during chaos testing. Moving to a 5 node cluster has improved recovery success rate. --- kustomize/mariadb-cluster/base/mariadb-galera.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize/mariadb-cluster/base/mariadb-galera.yaml b/kustomize/mariadb-cluster/base/mariadb-galera.yaml index 09033274..eff64d0c 100644 --- a/kustomize/mariadb-cluster/base/mariadb-galera.yaml +++ b/kustomize/mariadb-cluster/base/mariadb-galera.yaml @@ -24,7 +24,7 @@ spec: storage: 10Gi storageClassName: general - replicas: 3 + replicas: 5 podSecurityContext: runAsUser: 0 @@ -114,7 +114,7 @@ spec: effect: "NoSchedule" podDisruptionBudget: - maxUnavailable: 33% + maxUnavailable: 40% updateStrategy: type: RollingUpdate