← Back to Pull requests

CCO-845: use AlwaysAllow UnhealthyPodEvictionPolicy option in PDBs #1019

Merged
atiratree merged 2 files (2 lines) on May 06, 2026 00:43 UTC
View on GitHub
atiratree atiratree commented on Apr 29, 2026 14:22 UTC
Author

Allow eviction of unhealthy (not ready) pods even if there are no disruptions
allowed on a PodDisruptionBudget. This can help to drain/maintain a node and
recover without a manual intervention when multiple instances of nodes or pods
are misbehaving.

Conventions change: https://github.com/openshift/enhancements/pull/1995

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

Configuration
PodDisruptionBudget updated to include unhealthyPodEvictionPolicy: AlwaysAllow, permitting eviction of unhealthy pods during disruptions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 2 lines (+2 / -0) across 2 files Reviewer: jstuever Review duration: 9260m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.16) × (1 − Review Confidence (0.88)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.16 · 2 lines diff across 2 files
0.16
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.93 · 5 substantive comment(s)
0.93
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
88%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.066
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
14 items
openshift-ci-robot openshift-ci-robot commented on Apr 29, 2026 14:22 UTC
Contributor

@atiratree: This pull request references CCO-845 which is a valid jira issue.

<details>

In response to this:

>Allow eviction of unhealthy (not ready) pods even if there are no disruptions
>allowed on a PodDisruptionBudget. This can help to drain/maintain a node and
>recover without a manual intervention when multiple instances of nodes or pods
>are misbehaving.

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 openshift-eng/jira-lifecycle-plugin repository.
</details>

coderabbitai[bot] coderabbitai[bot] commented on Apr 29, 2026 14:22 UTC
Bot

<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- walkthrough_start -->

Walkthrough

PodDisruptionBudget manifest was updated to add spec.unhealthyPodEvictionPolicy: AlwaysAllow, affecting eviction behavior for unhealthy pods in the embedded asset and its source YAML.

Changes

|Cohort / File(s)|Summary|
|---|---|
|PodDisruptionBudget assets <br> bindata/v4.1.0/common/poddisruptionbudget.yaml, pkg/assets/v410_00_assets/bindata.go|Added spec.unhealthyPodEvictionPolicy: AlwaysAllow to the PodDisruptionBudget spec in the source YAML and the embedded asset string.|

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

<!-- walkthrough_end -->

<!-- pre_merge_checks_walkthrough_start -->

<details>
<summary>🚥 Pre-merge checks | ✅ 12</summary>

<details>
<summary>✅ Passed checks (12 passed)</summary>

| Check name | Status | Explanation |
| :----------------------------------------------: | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Title check | ✅ Passed | The title clearly and specifically references the main change: adding AlwaysAllow UnhealthyPodEvictionPolicy to PodDisruptionBudgets (PDBs). |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Stable And Deterministic Test Names | ✅ Passed | This PR modifies only Kubernetes manifest files and auto-generated bindata assets. No Ginkgo test files are included in the changes. |
| Test Structure And Quality | ✅ Passed | PR modifies only manifest and auto-generated bindata files; no test code changes present. |
| Microshift Test Compatibility | ✅ Passed | This pull request does not add any new Ginkgo e2e tests. The changes are limited to modifying a Kubernetes PodDisruptionBudget manifest file to add the unhealthyPodEvictionPolicy: AlwaysAllow configuration, and updating the corresponding generated bindata asset file. Since the MicroShift Test Compatibility check specifically applies to when new Ginkgo e2e tests are added, and no new tests are present in this PR, the check is not applicable and passes by default. |
| Single Node Openshift (Sno) Test Compatibility | ✅ Passed | PR modifies only non-test files (PDB YAML manifest and auto-generated bindata.go). No Ginkgo test definitions present. |
| Topology-Aware Scheduling Compatibility | ✅ Passed | The PR adds unhealthyPodEvictionPolicy: AlwaysAllow to PodDisruptionBudget without modifying topology-sensitive constraints like minAvailable or selectors, improving eviction handling across all topologies. |
| Ote Binary Stdout Contract | ✅ Passed | PR changes only update an embedded Kubernetes manifest with unhealthyPodEvictionPolicy configuration in generated bindata.go; no stdout writes or process entry point violations introduced. |
| Ipv6 And Disconnected Network Test Compatibility | ✅ Passed | This pull request does not add any Ginkgo e2e tests. The changes consist solely of modifications to a Kubernetes PodDisruptionBudget manifest file and its corresponding embedded asset file. |
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |

</details>

<sub>✏️ Tip: You can configure your own custom pre-merge checks in the settings.</sub>

</details>

<!-- pre_merge_checks_walkthrough_end -->

<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

<details>
<summary>🧪 Generate unit tests (beta)</summary>

  • <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create PR with unit tests
  • </details>

    </details>

    <!-- finishing_touch_checkbox_end -->

    <!-- tips_start -->

    ---

    <sub>Comment @coderabbitai help to get the list of available commands and usage tips.</sub>

    <!-- tips_end -->

    <!-- internal state start -->

    <!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKPR1AGxJcAwj4DyYAAcACwArFzYiCSQAIIeAO5osojxHvgJkACqGLAkaB64sLJWigCiEvBi8PgYpR5V8vjc4rUoWFYAIgBCyJAGAHKOApRcAIw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M2SZaZbaW/cRDoqRd0oYoqIoR+BeKYsc0LOY96FY/w9YrAD8SAE49xM41kJpfADQqcRkKDBPBIADMS9hUKDEQC9gKCIcH8DyGoUBCGA5RQY5QhWM9UhnfwU7bod3KCDDQy3M2oE8sQHChnSgSg6goiiXEimU5TOUtYusoImilUjglsjUtsrUjs8PDnbsxbdi1IrvRSa3MM/AHIsSMYgo4M/JeE4UCo8GKojHdPSxChR8ewP7DUPpZouzCGYCYS+ZRZLouctuNZWLcSqA1/aBEqEJfY6QQ44+D8qZOgISzFW0gKNy+ijU/SbgCQR0WwyAVueycgMQG0AYDOBIYcBKHMtC5gDC+AAs7Cos3CsU/CogCKtkKK6UinOKyi+smKqrZK0I9ahndKvgpi7K4wqCzLMMRACMFONPLPSUyKvPUirrNi5I79MvJXB7G0KAFiJQIjbWXAQATAJkAEAiBYAXplRkIq4oJUAyAwECcHqGdSyXq2D/q6LesNSB4YbDM2sv0ABdfDZjBkXAWwKG7mtGvONtRtAQQdEgEgdNBgR0FNWgN9WgYUCYBgE0AQWgR0DNEIEgDW2gIIaYBNNAR0BgQtONMYWgGYR0N4HtONZtJW0NeWyNcbIWxkWwWTBnMIONE282hgdW4tEICYfNKNIIfNMYcNYUEII+R0M2kIF20NUNFtEYR0ZNP0EIVNCNOW5NMNR0HtEdaYNAONAQd2vHQEWgS9aDOKWwRU6i79ecWgGwTMMWgDFOBXeumUxnQ0FujAb2zu2g7upuvugbBgSwsHQe6KgwHDYwQ2ZdVdSgDdHrD1Bdcteej/MpD4qIFdVTXe1kfdQNQ9D2kWmvWgWIXAHkLxW9CdXAFiTMUPDgCYWepdTe7e6IX1TDFdNe/mIAA= -->

    <!-- internal state end -->

    coderabbitai[bot] coderabbitai[bot] commented on code on Apr 29, 2026 14:26 UTC
    Code Review
    bindata/v4.1.0/common/poddisruptionbudget.yaml:1
    @@ -5,6 +5,7 @@ metadata:
       namespace: openshift-cloud-credential-operator
     spec:
       minAvailable: 1
    +  unhealthyPodEvictionPolicy: AlwaysAllow

    _⚠️ Potential issue_ | _🔴 Critical_

    <details>
    <summary>🧩 Analysis chain</summary>

    🌐 Web query:

    Kubernetes unhealthyPodEvictionPolicy PodDisruptionBudget valid values and minimum version

    💡 Result:

    The valid values for unhealthyPodEvictionPolicy in a Kubernetes PodDisruptionBudget are "IfHealthyBudget" and "AlwaysAllow". If unspecified, it defaults to "IfHealthyBudget". - "IfHealthyBudget": Running but unhealthy pods can be evicted only if the application is not disrupted (currentHealthy >= desiredHealthy). - "AlwaysAllow": Running but unhealthy pods can always be evicted, regardless of PDB criteria. This field is part of the policy/v1 PodDisruptionBudget API. It was introduced as alpha in Kubernetes v1.26 (requires feature gate PDBUnhealthyPodEvictionPolicy=true), promoted to beta by v1.31 (enabled by default), and is stable in recent versions as of 2026.

    Citations:

  • 1: https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1

  • 2: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/

  • 3: https://github.com/kubernetes/enhancements/blob/master/keps/sig-apps/3017-pod-healthy-policy-for-pdb/README.md

  • 4: https://kubernetes.io/blog/2023/01/06/unhealthy-pod-eviction-policy-for-pdbs/

  • 5: https://kubernetes.io/docs/tasks/run-application/configure-pdb/

  • 6: https://v1-32.docs.kubernetes.io/docs/reference/kubernetes-api/policy-resources/pod-disruption-budget-v1
  • ---

    🌐 Web query:

    OpenShift 4.1.0 Kubernetes version compatibility

    💡 Result:

    OpenShift Container Platform 4.1.0 is compatible with Kubernetes 1.13.

    Citations:

  • 1: https://docs.openshift.com/container-platform/4.1/release_notes/ocp-4-1-release-notes.html

  • 2: https://docs.redhat.com/en/documentation/openshift_container_platform/4.1/html-single/release_notes/index

  • 3: https://gist.github.com/luksa/4859abc6a292a249dc6ef014f8de2d4d
  • ---

    </details>

    Remove unhealthyPodEvictionPolicy or target a supported Kubernetes version.

    The unhealthyPodEvictionPolicy field requires Kubernetes 1.26+, but OpenShift 4.1.0 includes only Kubernetes 1.13. This field will be rejected by the API during validation. Either remove this line, or update the target OpenShift/Kubernetes version to 4.10+ (which includes Kubernetes 1.23+) or later.

    <details>
    <summary>🤖 Prompt for AI Agents</summary>

    Verify each finding against the current code and only fix it if needed.
    
    In `@bindata/v4.1.0/common/poddisruptionbudget.yaml` at line 8, The manifest
    contains the unsupported field unhealthyPodEvictionPolicy in
    poddisruptionbudget.yaml which is rejected by older OpenShift/Kubernetes; remove
    the unhealthyPodEvictionPolicy: AlwaysAllow line from the PodDisruptionBudget
    resource (search for unhealthyPodEvictionPolicy in poddisruptionbudget.yaml) or
    alternatively update the component's target platform/version metadata to an
    OpenShift/Kubernetes release that includes this field (bump target to OpenShift
    4.10+ / Kubernetes 1.23+ wherever the chart/manifests declare supported
    versions).
    

    </details>

    <!-- fingerprinting:phantom:triton:puma:528c39c6-6861-4687-9a91-131c65c68502 -->

    <!-- d98c2f50 -->

    <!-- This is an auto-generated reply by CodeRabbit -->

    ✅ Confirmed as addressed by @jstuever

    <!-- This is an auto-generated comment by CodeRabbit -->

    coderabbitai[bot] coderabbitai[bot] commented on Apr 29, 2026 14:26 UTC
    Reviewer

    Actionable comments posted: 1

    <details>
    <summary>🤖 Prompt for all review comments with AI agents</summary>

    Verify each finding against the current code and only fix it if needed.
    
    Inline comments:
    In `@bindata/v4.1.0/common/poddisruptionbudget.yaml`:
    - Line 8: The manifest contains the unsupported field unhealthyPodEvictionPolicy
    in poddisruptionbudget.yaml which is rejected by older OpenShift/Kubernetes;
    remove the unhealthyPodEvictionPolicy: AlwaysAllow line from the
    PodDisruptionBudget resource (search for unhealthyPodEvictionPolicy in
    poddisruptionbudget.yaml) or alternatively update the component's target
    platform/version metadata to an OpenShift/Kubernetes release that includes this
    field (bump target to OpenShift 4.10+ / Kubernetes 1.23+ wherever the
    chart/manifests declare supported versions).
    

    </details>

    <details>
    <summary>🪄 Autofix (Beta)</summary>

    Fix all unresolved CodeRabbit comments on this PR:

  • <!-- {"checkboxId": "4b0d0e0a-96d7-4f10-b296-3a18ea78f0b9"} --> Push a commit to this branch (recommended)

  • <!-- {"checkboxId": "ff5b1114-7d8c-49e6-8ac1-43f82af23a33"} --> Create a new PR with the fixes
  • </details>

    ---

    <details>
    <summary>ℹ️ Review info</summary>

    <details>
    <summary>⚙️ Run configuration</summary>

    Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

    Review profile: CHILL

    Plan: Enterprise

    Run ID: 4617dcba-c593-4951-bef3-ee23f7f0525a

    </details>

    <details>
    <summary>📥 Commits</summary>

    Reviewing files that changed from the base of the PR and between 374560dea0d04ab3802ab6360de4440bbd956650 and e10a751c0f5fe30251f96548229974f8713d002c.

    </details>

    <details>
    <summary>📒 Files selected for processing (1)</summary>

  • bindata/v4.1.0/common/poddisruptionbudget.yaml
  • </details>

    </details>

    <!-- This is an auto-generated comment by CodeRabbit for review status -->

    codecov[bot] codecov[bot] commented on Apr 29, 2026 22:26 UTC
    Bot

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    :white_check_mark: Project coverage is 46.88%. Comparing base (374560d) to head (afe058b).
    :warning: Report is 12 commits behind head on master.

    <details><summary>Additional details and impacted files</summary>

    ![Impacted file tree graph](https://app.codecov.io/gh/openshift/cloud-credential-operator/pull/1019?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openshift)

    @@           Coverage Diff           @@
    ##           master    #1019   +/-   ##
    =======================================
      Coverage   46.88%   46.88%           
    =======================================
      Files          98       98           
      Lines       12558    12558           
    =======================================
      Hits         5888     5888           
      Misses       6015     6015           
      Partials      655      655           
    

    | Files with missing lines | Coverage Δ | |
    |---|---|---|
    | pkg/assets/v410\_00\_assets/bindata.go | 42.71% <ø> (ø) | |
    </details>
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    atiratree atiratree commented on May 04, 2026 13:43 UTC
    Author

    /retest

    jstuever jstuever commented on code on May 05, 2026 17:21 UTC
    Code Review
    bindata/v4.1.0/common/poddisruptionbudget.yaml:1
    @@ -5,6 +5,7 @@ metadata:
       namespace: openshift-cloud-credential-operator
     spec:
       minAvailable: 1
    +  unhealthyPodEvictionPolicy: AlwaysAllow

    The master branch currently targeting OpenShift v4.22, as can be identified in the Dockerfile. This is regularly updated to match the next version of OpenShift.

    coderabbitai[bot] coderabbitai[bot] commented on code on May 05, 2026 17:21 UTC
    Code Review
    bindata/v4.1.0/common/poddisruptionbudget.yaml:1
    @@ -5,6 +5,7 @@ metadata:
       namespace: openshift-cloud-credential-operator
     spec:
       minAvailable: 1
    +  unhealthyPodEvictionPolicy: AlwaysAllow

    @jstuever, thank you for the clarification! I misread the v4.1.0 directory prefix as the target OpenShift/Kubernetes version. Since the master branch targets OpenShift v4.22 (which ships with Kubernetes well past v1.26), the unhealthyPodEvictionPolicy: AlwaysAllow field is fully supported and the concern is invalid. I apologize for the noise.

    <!-- <review_comment_addressed> -->

    ---

    📝 Learnings were identified and not saved (knowledge base disabled). Enable

    <!-- This is an auto-generated reply by CodeRabbit -->

    jstuever jstuever commented on May 05, 2026 17:23 UTC
    Contributor

    /lgtm
    /approve

    openshift-ci[bot] openshift-ci[bot] commented on May 05, 2026 17:24 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/openshift/cloud-credential-operator/pull/1019#" title="Author self-approved">atiratree</a>, <a href="https://github.com/openshift/cloud-credential-operator/pull/1019#issuecomment-4381515157" title="Approved">jstuever</a>

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

    The pull request process is described here

    <details >
    Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [jstuever]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    jstuever jstuever commented on May 05, 2026 17:53 UTC
    Contributor

    /verified by @jstuever

    openshift-ci-robot openshift-ci-robot commented on May 05, 2026 17:53 UTC
    Contributor

    @jstuever: This PR has been marked as verified by @jstuever.

    <details>

    In response to this:

    >/verified by @jstuever

    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 openshift-eng/jira-lifecycle-plugin repository.
    </details>

    openshift-ci[bot] openshift-ci[bot] commented on May 06, 2026 00:39 UTC
    Bot

    @atiratree: all tests passed!

    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.
    </details>
    <!-- test report -->

    Reviewers
    Assignees
    atiratree atiratree
    Labels
    risk: low confidence: 88.3% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 16% (LOW) · Higher = larger blast radius
    16%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 88.3% · Lower = rushed or shallow review
    88.3%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2% · Safe to merge
    2%