Skip to content

Conversation

CoreyCook8
Copy link
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
Copy link
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.

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
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
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
Copy link
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

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
Contributor

tjungblu commented Sep 2, 2025

/retest-required

@tjungblu
Copy link
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

Copy link
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

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.

Copy link
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.

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
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
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

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

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
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

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

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

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

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.

4 participants