From dcbac87c9903ac1ddd186a3b7aecd9cb4d0ceb79 Mon Sep 17 00:00:00 2001 From: Jakub Stejskal Date: Wed, 16 Aug 2023 11:04:50 +0200 Subject: [PATCH] Increase size for worker-01 for Kafka nodes Signed-off-by: Jakub Stejskal --- install/roles/tealc/templates/worker-machine-sets.yaml.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install/roles/tealc/templates/worker-machine-sets.yaml.j2 b/install/roles/tealc/templates/worker-machine-sets.yaml.j2 index 4062c09c..10ed5fca 100644 --- a/install/roles/tealc/templates/worker-machine-sets.yaml.j2 +++ b/install/roles/tealc/templates/worker-machine-sets.yaml.j2 @@ -10,7 +10,11 @@ metadata: machine.openshift.io/cluster-api-machine-type: worker spec: # 5x kafka node +{ % if clusterName == "worker-01" % } replicas: 5 +{% else %} + replicas: 7 +{% endif %} selector: matchLabels: machine.openshift.io/cluster-api-cluster: {{ clusterId }} @@ -123,8 +127,8 @@ metadata: machine.openshift.io/cluster-api-machine-role: worker machine.openshift.io/cluster-api-machine-type: worker spec: - # 3x infra node - replicas: 3 + # 4x infra node + replicas: 4 selector: matchLabels: machine.openshift.io/cluster-api-cluster: {{ clusterId }}