Skip to content

[release-4.20] HyperShift: relax ovnkube-control-plane zone anti-affinity#2912

Open
ricky-rav wants to merge 1 commit intoopenshift:release-4.20from
ricky-rav:affinityHP_420
Open

[release-4.20] HyperShift: relax ovnkube-control-plane zone anti-affinity#2912
ricky-rav wants to merge 1 commit intoopenshift:release-4.20from
ricky-rav:affinityHP_420

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) (cherry picked from commit c120f3d)

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)
(cherry picked from commit c120f3d)
@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.

@ricky-rav ricky-rav changed the title HyperShift: relax ovnkube-control-plane zone anti-affinity [release-4.20] HyperShift: relax ovnkube-control-plane zone anti-affinity Feb 27, 2026
@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 jcaamano 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 859ceca link false /test security
ci/prow/e2e-ovn-ipsec-step-registry 859ceca link true /test e2e-ovn-ipsec-step-registry
ci/prow/e2e-metal-ipi-ovn-ipv6-ipsec 859ceca link true /test e2e-metal-ipi-ovn-ipv6-ipsec
ci/prow/e2e-aws-ovn-serial-2of2 859ceca link true /test e2e-aws-ovn-serial-2of2
ci/prow/e2e-aws-ovn-upgrade 859ceca link true /test e2e-aws-ovn-upgrade

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