From 0b223615770885839bc4b184fc4776c7d10342e0 Mon Sep 17 00:00:00 2001 From: ehila Date: Thu, 7 May 2026 13:59:56 -0400 Subject: [PATCH] feat: use 2 replicas for console on tnf Signed-off-by: ehila --- pkg/console/subresource/deployment/deployment.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/console/subresource/deployment/deployment.go b/pkg/console/subresource/deployment/deployment.go index 213462f26..a9d6491e4 100644 --- a/pkg/console/subresource/deployment/deployment.go +++ b/pkg/console/subresource/deployment/deployment.go @@ -137,9 +137,11 @@ func DefaultDownloadsDeployment( // // On HighlyAvailableArbiter control plane topologies, with a minimum of two full sized master nodes, we also deploy HA // since the default for HA is 2 pods. +// On DualReplica control plane topologies, we are deploying on two nodes and should be deployed in HA mode. func ShouldDeployHA(infrastructureConfig *configv1.Infrastructure) bool { return infrastructureConfig.Status.ControlPlaneTopology == configv1.HighlyAvailableTopologyMode || infrastructureConfig.Status.ControlPlaneTopology == configv1.HighlyAvailableArbiterMode || + infrastructureConfig.Status.ControlPlaneTopology == configv1.DualReplicaTopologyMode || (infrastructureConfig.Status.ControlPlaneTopology == configv1.ExternalTopologyMode && infrastructureConfig.Status.InfrastructureTopology == configv1.HighlyAvailableTopologyMode) }