website icon indicating copy to clipboard operation
website copied to clipboard

corrected priorityClassName used for static pod

Open ktvargo-ms opened this issue 1 year ago • 17 comments

fixes #46859

Corrected documentation to use priorityClassName for static pods instead of priorityClass and showed example yaml file.

ktvargo-ms avatar Jul 01 '24 20:07 ktvargo-ms

Pull request preview available for checking

Built without sensitive environment variables

Name Link
Latest commit 52704c9bebb5742f8a3f4e35efc82399da55575e
Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6769ac2aeb8a910008a44c76
Deploy Preview https://deploy-preview-47055--kubernetes-io-main-staging.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 01 '24 20:07 netlify[bot]

/easycla

ktvargo-ms avatar Jul 01 '24 20:07 ktvargo-ms

/sig node

sftim avatar Jul 02 '24 08:07 sftim

Does this work? I'd want evidence, because I think it's the wrong fix.

Instead, try setting a priority and a priorityClassName (the priorityClassName can be any string, as far as I know).

Yes, it was tested and documented in the issue.

ktvargo-ms avatar Jul 02 '24 13:07 ktvargo-ms

/hold

ktvargo-ms avatar Jul 02 '24 20:07 ktvargo-ms

/hold

ktvargo-ms avatar Jul 02 '24 20:07 ktvargo-ms

/remove-hold

ktvargo-ms avatar Jul 02 '24 21:07 ktvargo-ms

/hold

ktvargo-ms avatar Jul 02 '24 21:07 ktvargo-ms

/remove-hold

ktvargo-ms avatar Jul 12 '24 12:07 ktvargo-ms

/assign @nate-double-u

ktvargo-ms avatar Jul 15 '24 13:07 ktvargo-ms

/cc @nate-double-u for PR review

ktvargo-ms avatar Jul 15 '24 15:07 ktvargo-ms

@ktvargo-ms: GitHub didn't allow me to request PR reviews from the following users: for, PR, review.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @nate-double-u for PR review

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.

k8s-ci-robot avatar Jul 15 '24 15:07 k8s-ci-robot

/assign @ktvargo-ms

ktvargo-ms avatar Jul 15 '24 15:07 ktvargo-ms

Awaiting sig-node review.

ktvargo-ms avatar Jul 22 '24 14:07 ktvargo-ms

Hello @kubernetes/sig-node-leads, We would appreciate your feedback to ensure that these proposed changes are accurate. Thanks!

T-Lakshmi avatar Jul 29 '24 06:07 T-Lakshmi

Hello @kubernetes/sig-node-leads, We would appreciate your feedback to ensure that these proposed changes are accurate. Thanks!

Sent ask to #sig-node Slack channel as well.

ktvargo-ms avatar Jul 30 '24 21:07 ktvargo-ms

Hello @kubernetes/sig-node-leads, We would appreciate your feedback to ensure that these proposed changes are accurate. Thanks!

Sent ask to #sig-node Slack channel as well.

@sftim Based on discussion in https://github.com/kubernetes/kubernetes/issues/126542, is it agreed that...

Kubelet considers all static pods as critical regardless of their PodSpec.PriorityClassName. Static pods pass kubelet admission even if a node does not have enough resources. Users must ensure that they account for resources when creating static pods.

If in agreement, I will modify this PR.

ktvargo-ms avatar Aug 23 '24 19:08 ktvargo-ms

I don't object. Please make the changes you favor.

sftim avatar Oct 01 '24 16:10 sftim

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from nate-double-u. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

k8s-ci-robot avatar Dec 23 '24 18:12 k8s-ci-robot

This is an old PR that is ready for final review.

ktvargo-ms avatar Dec 23 '24 18:12 ktvargo-ms

@sftim, @tengqm, @divya-mohan0209 @nate-double-u please review the latest changes

ktvargo-ms avatar Jan 06 '25 18:01 ktvargo-ms

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 06 '25 19:04 k8s-triage-robot

Hi @ktvargo-ms, thanks for this.

Since there are comments or feedback that haven’t been addressed in 2 or more weeks, I’m closing this PR. Please feel free to reopen it when you can work on it again.

/close

nate-double-u avatar May 03 '25 18:05 nate-double-u

@nate-double-u: Closed this PR.

In response to this:

Hi @ktvargo-ms, thanks for this.

Since there are comments or feedback that haven’t been addressed in 2 or more weeks, I’m closing this PR. Please feel free to reopen it when you can work on it again.

/close

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.

k8s-ci-robot avatar May 03 '25 18:05 k8s-ci-robot