Skip to content

[release-4.21] HyperShift: relax ovnkube-control-plane zone anti-affinity#2911

Open
ricky-rav wants to merge 1 commit intoopenshift:release-4.21from
ricky-rav:affinityHP_421
Open

[release-4.21] HyperShift: relax ovnkube-control-plane zone anti-affinity#2911
ricky-rav wants to merge 1 commit intoopenshift:release-4.21from
ricky-rav:affinityHP_421

Conversation

@ricky-rav
Copy link
Contributor

The required zone in the anti-affinity section on the managed ovnkube-control-plane deployment can prevent scheduling when the management cluster has one zone only. Replace it with a hard hostname anti-affinity (guaranteeing that two replicas land on different nodes) and a soft zone anti-affinity (preferring different zones when possible).

(cherry picked from commit 223579a)

The required zone in the anti-affinity section on the managed ovnkube-control-plane
deployment can prevent scheduling when the management cluster has one zone only.
Replace it with a hard hostname anti-affinity (guaranteeing that two
replicas land on different nodes) and a soft zone anti-affinity (preferring
different zones when possible).

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
(cherry picked from commit 223579a)
@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot requested review from bpickard22 and kyrtapz February 27, 2026 10:55
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ricky-rav
Once this PR has been reviewed and has the lgtm label, please assign jacobtanenbaum for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 27, 2026

@ricky-rav: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/security c120f3d link false /test security
ci/prow/4.21-upgrade-from-stable-4.20-e2e-azure-ovn-upgrade c120f3d link false /test 4.21-upgrade-from-stable-4.20-e2e-azure-ovn-upgrade
ci/prow/e2e-metal-ipi-ovn-dualstack-bgp-local-gw c120f3d link true /test e2e-metal-ipi-ovn-dualstack-bgp-local-gw
ci/prow/e2e-azure-ovn-upgrade c120f3d link true /test e2e-azure-ovn-upgrade
ci/prow/e2e-gcp-ovn c120f3d link true /test e2e-gcp-ovn

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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.

1 participant