Skip to content

OCPBUGS-63213: Add priority field to prevent early shutdown#1476

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
CoreyCook8:patch-1
Sep 3, 2025
Merged

OCPBUGS-63213: Add priority field to prevent early shutdown#1476
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
CoreyCook8:patch-1

Conversation

@CoreyCook8
Copy link
Copy Markdown
Contributor

Based on the issue described here : kubernetes/kubernetes#133442

priorityClassName is currently ignored by Kubelet for static pod files so setting this value has no impact on the gracefulShutdown order causing the static pods to start to be killed as soon as shutdown begins.

To prevent this we must set priority explicitly

@openshift-ci openshift-ci Bot requested review from dusk125 and ironcladlou August 29, 2025 17:21
@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 29, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Aug 29, 2025

Hi @CoreyCook8. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 1, 2025

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 1, 2025
@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 1, 2025

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 1, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 1, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CoreyCook8, tjungblu

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:

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 1, 2025
@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 2, 2025

/retest-required

@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 2, 2025

/override ci/prow/e2e-metal-assisted
/override ci/prow/e2e-aws-ovn-etcd-scaling
/override ci/prow/e2e-aws-ovn-serial
/override ci/prow/e2e-aws-ovn-single-node
/override ci/prow/e2e-aws-cpms
/override ci/prow/e2e-agnostic-ovn

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 2, 2025

@tjungblu: Overrode contexts on behalf of tjungblu: ci/prow/e2e-agnostic-ovn, ci/prow/e2e-aws-cpms, ci/prow/e2e-aws-ovn-etcd-scaling, ci/prow/e2e-aws-ovn-serial, ci/prow/e2e-aws-ovn-single-node, ci/prow/e2e-metal-assisted

Details

In response to this:

/override ci/prow/e2e-metal-assisted
/override ci/prow/e2e-aws-ovn-etcd-scaling
/override ci/prow/e2e-aws-ovn-serial
/override ci/prow/e2e-aws-ovn-single-node
/override ci/prow/e2e-aws-cpms
/override ci/prow/e2e-agnostic-ovn

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 2, 2025

@CoreyCook8: 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/e2e-metal-ovn-two-node-fencing fd02f1b link false /test e2e-metal-ovn-two-node-fencing
ci/prow/e2e-metal-ovn-ha-cert-rotation-shutdown fd02f1b link false /test e2e-metal-ovn-ha-cert-rotation-shutdown
ci/prow/e2e-azure-ovn-etcd-scaling fd02f1b link false /test e2e-azure-ovn-etcd-scaling
ci/prow/e2e-azure fd02f1b link false /test e2e-azure
ci/prow/e2e-metal-ovn-sno-cert-rotation-shutdown fd02f1b link false /test e2e-metal-ovn-sno-cert-rotation-shutdown
ci/prow/e2e-aws fd02f1b link false /test e2e-aws
ci/prow/e2e-aws-etcd-recovery fd02f1b link false /test e2e-aws-etcd-recovery
ci/prow/e2e-aws-etcd-certrotation fd02f1b link false /test e2e-aws-etcd-certrotation
ci/prow/e2e-gcp-disruptive fd02f1b link false /test e2e-gcp-disruptive
ci/prow/e2e-gcp-ovn-etcd-scaling fd02f1b link false /test e2e-gcp-ovn-etcd-scaling
ci/prow/e2e-vsphere-ovn-etcd-scaling fd02f1b link false /test e2e-vsphere-ovn-etcd-scaling
ci/prow/e2e-aws-disruptive fd02f1b link false /test e2e-aws-disruptive
ci/prow/e2e-aws-disruptive-ovn fd02f1b link false /test e2e-aws-disruptive-ovn
ci/prow/e2e-gcp-disruptive-ovn fd02f1b link false /test e2e-gcp-disruptive-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.

@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 3, 2025

/label acknowledge-critical-fixes-only

@openshift-ci openshift-ci Bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Sep 3, 2025
@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 3, 2025

/retitle NO-JIRA: Add priority field to prevent early shutdown

@openshift-ci openshift-ci Bot changed the title Add priority field to prevent early shutdown NO-JIRA: Add priority field to prevent early shutdown Sep 3, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 3, 2025
@openshift-ci-robot
Copy link
Copy Markdown

@CoreyCook8: This pull request explicitly references no jira issue.

Details

In response to this:

Based on the issue described here : kubernetes/kubernetes#133442

priorityClassName is currently ignored by Kubelet for static pod files so setting this value has no impact on the gracefulShutdown order causing the static pods to start to be killed as soon as shutdown begins.

To prevent this we must set priority explicitly

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.

@tjungblu
Copy link
Copy Markdown
Contributor

tjungblu commented Sep 3, 2025

/verified by @tjungblu

spun up a clusterbot with this PR, got the priority set just right:
image

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Sep 3, 2025
@openshift-ci-robot
Copy link
Copy Markdown

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

Details

In response to this:

/verified by @tjungblu

spun up a clusterbot with this PR, got the priority set just right:
image

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit 0e9d61f into openshift:main Sep 3, 2025
20 of 34 checks passed
@zcollins0
Copy link
Copy Markdown

Hey @tjungblu , we have 3 other PRs open doing basically the same thing for other static pods. Can we get a review on those as well? openshift/cluster-kube-scheduler-operator#572, openshift/cluster-kube-apiserver-operator#1915, openshift/cluster-kube-controller-manager-operator#865

@dinhxuanvu
Copy link
Copy Markdown

/cherry-pick release-4.20

@openshift-cherrypick-robot
Copy link
Copy Markdown

@dinhxuanvu: new pull request created: #1508

Details

In response to this:

/cherry-pick release-4.20

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.

@sanchezl
Copy link
Copy Markdown
Contributor

/retitle OCPBUGS-63213: Add priority field to prevent early shutdown

@openshift-ci openshift-ci Bot changed the title NO-JIRA: Add priority field to prevent early shutdown OCPBUGS-63213: Add priority field to prevent early shutdown Jan 28, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@CoreyCook8: Jira Issue OCPBUGS-63213 is in an unrecognized state (MODIFIED) and will not be moved to the MODIFIED state.

Details

In response to this:

Based on the issue described here : kubernetes/kubernetes#133442

priorityClassName is currently ignored by Kubelet for static pod files so setting this value has no impact on the gracefulShutdown order causing the static pods to start to be killed as soon as shutdown begins.

To prevent this we must set priority explicitly

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.

@sanchezl
Copy link
Copy Markdown
Contributor

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown

@sanchezl: Jira Issue Verification Checks: Jira Issue OCPBUGS-63213
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-63213 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

/jira refresh

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants