Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/console/subresource/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down