Skip to content

Conversation

@googs1025
Copy link
Member

@googs1025 googs1025 commented Oct 23, 2025

Description

Checklist

Please ensure your pull request meets the following criteria before submitting
for review, these items will be used by reviewers to assess the quality and
completeness of your changes:

we already use podProtections in this pr #1665 and mark other similar args as Deprecated

  • use podProtections args instead of ignorePvcPods and evictLocalStoragePods in helm chart

  • Code Readability: Is the code easy to understand, well-structured, and consistent with project conventions?

  • Naming Conventions: Are variable, function, and structs descriptive and consistent?

  • Code Duplication: Is there any repeated code that should be refactored?

  • Function/Method Size: Are functions/methods short and focused on a single task?

  • Comments & Documentation: Are comments clear, useful, and not excessive? Were comments updated where necessary?

  • Error Handling: Are errors handled appropriately ?

  • Testing: Are there sufficient unit/integration tests?

  • Performance: Are there any obvious performance issues or unnecessary computations?

  • Dependencies: Are new dependencies justified ?

  • Logging & Monitoring: Is logging used appropriately (not too verbose, not too silent)?

  • Backward Compatibility: Does this change break any existing functionality or APIs?

  • Resource Management: Are resources (files, connections, memory) managed and released properly?

  • PR Description: Is the PR description clear, providing enough context and explaining the motivation for the change?

  • Documentation & Changelog: Are README and docs updated if necessary?

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 23, 2025
@k8s-ci-robot k8s-ci-robot requested review from JaneLiuL and a7i October 23, 2025 12:05
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 23, 2025
@googs1025 googs1025 changed the title docs: use podProtections args docs: use podProtections args in helm chart Oct 23, 2025


# Mount the ServiceAccountToken in the Pod of a CronJob or Deployment

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this NL can be dropped.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Signed-off-by: googs1025 <[email protected]>
@ingvagabund
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 29, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 29, 2025
@k8s-ci-robot k8s-ci-robot merged commit ebaf155 into kubernetes-sigs:master Oct 29, 2025
9 checks passed
alexlebens pushed a commit to alexlebens/infrastructure that referenced this pull request Oct 31, 2025
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [descheduler](https://github.com/kubernetes-sigs/descheduler) | minor | `0.33.0` -> `0.34.0` |

---

### Release Notes

<details>
<summary>kubernetes-sigs/descheduler (descheduler)</summary>

### [`v0.34.0`](https://github.com/kubernetes-sigs/descheduler/releases/tag/v0.34.0): Descheduler v0.34.0

[Compare Source](kubernetes-sigs/descheduler@v0.33.0...v0.34.0)

#### What's Changed

- Remove reference to obsolete deschedulerPolicy fields in chart values by [@&#8203;meroupatate](https://github.com/meroupatate) in [#&#8203;1674](kubernetes-sigs/descheduler#1674)
- v0.33.0: bump helm chart by [@&#8203;a7i](https://github.com/a7i) in [#&#8203;1680](kubernetes-sigs/descheduler#1680)
- optimize: NodeFit function by reordering checks for performance by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1681](kubernetes-sigs/descheduler#1681)
- feature: sort pods by restarts count in RemovePodsHavingTooManyRestarts plugin by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1686](kubernetes-sigs/descheduler#1686)
- chore: move namespaces filtering logic to New() by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1684](kubernetes-sigs/descheduler#1684)
- RemovePodsViolatingNodeTaints: list only pods that are not failed/suceeded by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1688](kubernetes-sigs/descheduler#1688)
- fix(example): list only active pod by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1691](kubernetes-sigs/descheduler#1691)
- refactor: separate eviction constraints to constraints.go by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1693](kubernetes-sigs/descheduler#1693)
- Extend plugin's New with a context.Context by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1694](kubernetes-sigs/descheduler#1694)
- \*1677 Allow Succeeded and Failed states in PodLifeTime by [@&#8203;doctapp](https://github.com/doctapp) in [#&#8203;1696](kubernetes-sigs/descheduler#1696)
- metrics name refact by [@&#8203;lowang-bh](https://github.com/lowang-bh) in [#&#8203;1232](kubernetes-sigs/descheduler#1232)
- feat(prometheus): allow different url schemes by [@&#8203;ricardomaraschini](https://github.com/ricardomaraschini) in [#&#8203;1705](kubernetes-sigs/descheduler#1705)
- feature: use contextal logging for plugins by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1655](kubernetes-sigs/descheduler#1655)
- logger: Align with the previous logger verbosity by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1708](kubernetes-sigs/descheduler#1708)
- add activeDeadlineSeconds field for cronjob by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1709](kubernetes-sigs/descheduler#1709)
- chore: stop with no-op default evictor settings by [@&#8203;ricardomaraschini](https://github.com/ricardomaraschini) in [#&#8203;1717](kubernetes-sigs/descheduler#1717)
- fix: removepodsviolatingtopologyspreadconstraint to favor evictable pods when balancing domains by [@&#8203;a7i](https://github.com/a7i) in [#&#8203;1719](kubernetes-sigs/descheduler#1719)
- fix: Fix panic in descheduler when using `--secure-port=0` by [@&#8203;dongjiang1989](https://github.com/dongjiang1989) in [#&#8203;1647](kubernetes-sigs/descheduler#1647)
- feat(helm): run descedulerPolicy thru tpl func for more chart control by [@&#8203;schahal](https://github.com/schahal) in [#&#8203;1660](kubernetes-sigs/descheduler#1660)
- Test code refactorings by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1722](kubernetes-sigs/descheduler#1722)
- Default evictor no eviction policy by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1723](kubernetes-sigs/descheduler#1723)
- add PodProtections for DefaultEvictorArgs by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1665](kubernetes-sigs/descheduler#1665)
- add ValidateHighNodeUtilizationPluginConfig unit test by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1733](kubernetes-sigs/descheduler#1733)
- feature: add PodsWithResourceClaims parameter in DefaultEvictorArgs PodProtections by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1603](kubernetes-sigs/descheduler#1603)
- update readme for PodProtections by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1728](kubernetes-sigs/descheduler#1728)
- Improves the validation logic in the plugins by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1729](kubernetes-sigs/descheduler#1729)
- feat(token): automountServiceAccountToken set hard to true on deployment by [@&#8203;jmederer](https://github.com/jmederer) in [#&#8203;1641](kubernetes-sigs/descheduler#1641)
- standardize protectionEnabled param across eviction constraints by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1725](kubernetes-sigs/descheduler#1725)
- \[1732] chore: add cronjob/job labels and annotations to helm chart by [@&#8203;n2h9](https://github.com/n2h9) in [#&#8203;1736](kubernetes-sigs/descheduler#1736)
- chore: add pull request template by [@&#8203;ricardomaraschini](https://github.com/ricardomaraschini) in [#&#8203;1742](kubernetes-sigs/descheduler#1742)
- feat(test/e2e): introduce new flags to override RunAsUser and RunAsGroup security context setting by [@&#8203;ingvagabund](https://github.com/ingvagabund) in [#&#8203;1743](kubernetes-sigs/descheduler#1743)
- helm chart - Allow to add custom annotations for deployment by [@&#8203;anthosz](https://github.com/anthosz) in [#&#8203;1741](kubernetes-sigs/descheduler#1741)
- chore: give tracing.Shutdown() its own context by [@&#8203;ricardomaraschini](https://github.com/ricardomaraschini) in [#&#8203;1747](kubernetes-sigs/descheduler#1747)
- fix: correct comment for HaveNoEvictionAnnotation by [@&#8203;eminaktas](https://github.com/eminaktas) in [#&#8203;1746](kubernetes-sigs/descheduler#1746)
- descheduler: handle single-node clusters gracefully by [@&#8203;tsj-30](https://github.com/tsj-30) in [#&#8203;1755](kubernetes-sigs/descheduler#1755)
- feat(eviction): add annotations to eviction requests for observability by [@&#8203;tiraboschi](https://github.com/tiraboschi) in [#&#8203;1753](kubernetes-sigs/descheduler#1753)
- test: run by default with kind 0.30.0 and kubevirt v1.6.2  by [@&#8203;tiraboschi](https://github.com/tiraboschi) in [#&#8203;1762](kubernetes-sigs/descheduler#1762)
- \[v0.34.0] bump to kubernetes 1.34 deps by [@&#8203;a7i](https://github.com/a7i) in [#&#8203;1744](kubernetes-sigs/descheduler#1744)
- chore: update approvers by [@&#8203;ricardomaraschini](https://github.com/ricardomaraschini) in [#&#8203;1759](kubernetes-sigs/descheduler#1759)
- helm: Fix liveness probe timeout for descheduler chart by [@&#8203;rstribrn](https://github.com/rstribrn) in [#&#8203;1751](kubernetes-sigs/descheduler#1751)
- docs: use podProtections args in helm chart by [@&#8203;googs1025](https://github.com/googs1025) in [#&#8203;1765](kubernetes-sigs/descheduler#1765)
- \[v0.34.0] update docs and manifests by [@&#8203;a7i](https://github.com/a7i) in [#&#8203;1768](kubernetes-sigs/descheduler#1768)

#### New Contributors

- [@&#8203;meroupatate](https://github.com/meroupatate) made their first contribution in [#&#8203;1674](kubernetes-sigs/descheduler#1674)
- [@&#8203;doctapp](https://github.com/doctapp) made their first contribution in [#&#8203;1696](kubernetes-sigs/descheduler#1696)
- [@&#8203;lowang-bh](https://github.com/lowang-bh) made their first contribution in [#&#8203;1232](kubernetes-sigs/descheduler#1232)
- [@&#8203;schahal](https://github.com/schahal) made their first contribution in [#&#8203;1660](kubernetes-sigs/descheduler#1660)
- [@&#8203;jmederer](https://github.com/jmederer) made their first contribution in [#&#8203;1641](kubernetes-sigs/descheduler#1641)
- [@&#8203;n2h9](https://github.com/n2h9) made their first contribution in [#&#8203;1736](kubernetes-sigs/descheduler#1736)
- [@&#8203;anthosz](https://github.com/anthosz) made their first contribution in [#&#8203;1741](kubernetes-sigs/descheduler#1741)
- [@&#8203;tsj-30](https://github.com/tsj-30) made their first contribution in [#&#8203;1755](kubernetes-sigs/descheduler#1755)
- [@&#8203;tiraboschi](https://github.com/tiraboschi) made their first contribution in [#&#8203;1753](kubernetes-sigs/descheduler#1753)
- [@&#8203;rstribrn](https://github.com/rstribrn) made their first contribution in [#&#8203;1751](kubernetes-sigs/descheduler#1751)

**Full Changelog**: <kubernetes-sigs/descheduler@v0.33.0...v0.34.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTUuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1NS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaGFydCJdfQ==-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1914
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants