Skip to content

Conversation

@reshnm
Copy link
Contributor

@reshnm reshnm commented Oct 22, 2025

What this PR does / why we need it:

This PR does the following:

  • Set the LeaderElectionNamespace to the POD namespace (from environment) for the openmcp-operator and the platform-service mcp
  • Add the field RunReplicas to the deployment spec for cluster providers, service providers, platform services. This sets the replicas of the run deployment. If greater than 1, it automatically sets the flag --leader-elect=true for the run deployment
  • Add the field TopologySpreadConstraints to the deployment spec. This can be used to control the spread of the run pods (e.g. zone, hostname etc.). The matching labels will be automatically added to the pod template labels and the topology spread contraints match labels.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Add high availability features for the openmcp-operator and service-providers, cluster-providers and platform-services

@reshnm reshnm marked this pull request as draft October 22, 2025 14:26
@reshnm reshnm marked this pull request as ready for review October 22, 2025 15:15
@robertgraeff robertgraeff merged commit c814391 into main Oct 23, 2025
5 checks passed
@robertgraeff robertgraeff deleted the feat/leader-elect branch October 23, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants