Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TooManyRestart: state filter for CrashLoopBackOff #1165

Merged

Conversation

a7i
Copy link
Contributor

@a7i a7i commented Jun 8, 2023

Also as a follow up it might be useful to add a restartThreshold parameter for this specifically to evict pods that have crashlooped X times instead of crashlooping for X seconds

cc: @ingvagabund @damemi
Please let me know if you prefer the revert in a separate PR

…CrashLoopBackOff"

This reverts commit 6992977, reversing
changes made to 877d9b1.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 8, 2023
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 8, 2023
@a7i a7i changed the title Toomanyrestarts crash loop back off TooManyRestart: state filter for CrashLoopBackOff Jun 8, 2023
@a7i
Copy link
Contributor Author

a7i commented Jun 8, 2023

/retest

@a7i a7i force-pushed the toomanyrestarts-CrashLoopBackOff branch from 59bb1fd to 0bdbf51 Compare June 8, 2023 03:29
@ingvagabund
Copy link
Contributor

/retest-required

@damemi
Copy link
Contributor

damemi commented Jun 8, 2023

Oh I completely forgot about TooManyRestarts, agree that is a better place for this.

So CrashLoop didn't count toward the restart threshold before with this strategy?

@a7i
Copy link
Contributor Author

a7i commented Jun 8, 2023

@damemi it does, but I am wanting to evict only pods in CrashLoopBackOff. For my use-case, if a pod was previously restarted 20 times but now it has been running without issues, I don't see any value in evicting it.

@ingvagabund
Copy link
Contributor

ingvagabund commented Jun 10, 2023

Wrt. #1164 (comment):

  containerStatuses:
  - containerID: containerd://274b89ca9b2d7a815cf6550453af29663c114c51917358bb02330613d39fbb73
    ...
    restartCount: 3
    ...
    state:
      waiting:
        message: back-off 40s restarting failed container=rdescheduler-podlifetime pod=descheduler-podlifetime
        reason: CrashLoopBackOff
  phase: Running

A pod can be restarted many times but the reason for the restart can vary in time. There's currently no way of knowing what cause the previous restarts. We can only assume if a pod gets into CrashLoopBackOff state it is a repetitive event.

Both PodLifeTime and TooManyRestarts strategies have a lot in common. Either the reason for evicting is "too many restarts" or "running for too long". Too many restarts can be in a way converted to "running for too long" (e.g. depending on how the pod probes are configured). So both strategies are suitable for the new state/reason for eviction. So both evict pods in CrashLoopBackOff state for "some time" and "getting restarted too many times" are valid.

What about to merge both plugins into a single one? Making sure only one of MaxPodLifeTimeSeconds and PodRestartThreshold can be used at the same time. The valid states can be limited based on which criteria gets set. With the new v1alpha2 configuration one can configure the same strategy multiple times to get benefit of both.

@a7i
Copy link
Contributor Author

a7i commented Jun 10, 2023

Ok, I can work on that but I feel that these are substantial request for changes with API changes that also impact users.

If we can do this in multiple steps, that'd be ideal.

  • merge small change
  • come back refactor
  • upgrade API later to get rid of redundant plugins.

@ingvagabund
Copy link
Contributor

We can make the change as part of v1alpha3.
/approve

@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 Jun 12, 2023
@damemi
Copy link
Contributor

damemi commented Jun 13, 2023

+1 to @ingvagabund's comments, these 2 plugins are converging in what they accomplish... I also think it's easier for people to understand that 1 plugin handles crashing/restarting/failing pods rather than know that a CrashLooping pod is technically Running and not "failed"

this lgtm, we can refactor later. I'd propose opening an issue to track and justify the reasoning
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2023
@k8s-ci-robot k8s-ci-robot merged commit 5462a59 into kubernetes-sigs:master Jun 13, 2023
@a7i a7i deleted the toomanyrestarts-CrashLoopBackOff branch June 13, 2023 16:54
szinn referenced this pull request in szinn/k8s-homelab Aug 25, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [descheduler](https://togithub.com/kubernetes-sigs/descheduler) |
minor | `0.27.1` -> `0.28.0` |

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/kubernetes-sigs/descheduler/compare/v0.27.1...v0.28.0)

#### What's Changed

- add unit tests for version compatibility check by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1096](https://togithub.com/kubernetes-sigs/descheduler/pull/1096)
- fix plugin arg conversion when using multiple profiles with same
plugin by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1143](https://togithub.com/kubernetes-sigs/descheduler/pull/1143)
- Use dl.k8s.io instead of kubernetes-release bucket by
[@&#8203;ratnopamc](https://togithub.com/ratnopamc) in
[https://github.com/kubernetes-sigs/descheduler/pull/1145](https://togithub.com/kubernetes-sigs/descheduler/pull/1145)
- update deprecated sets.String to generic sets by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1146](https://togithub.com/kubernetes-sigs/descheduler/pull/1146)
- helm: ability to override command and args. set args inline by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1151](https://togithub.com/kubernetes-sigs/descheduler/pull/1151)
- fix: imagepullsecrets indentation for kind: Deployment by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1150](https://togithub.com/kubernetes-sigs/descheduler/pull/1150)
- docs: supplement missing link by
[@&#8203;mikutas](https://togithub.com/mikutas) in
[https://github.com/kubernetes-sigs/descheduler/pull/1159](https://togithub.com/kubernetes-sigs/descheduler/pull/1159)
- bump chart to v0.27.1 by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1160](https://togithub.com/kubernetes-sigs/descheduler/pull/1160)
- Custom labels for ServiceMonitor resource by
[@&#8203;nlamirault](https://togithub.com/nlamirault) in
[https://github.com/kubernetes-sigs/descheduler/pull/1147](https://togithub.com/kubernetes-sigs/descheduler/pull/1147)
- pod anti-affinity check among nodes by
[@&#8203;10hin](https://togithub.com/10hin) in
[https://github.com/kubernetes-sigs/descheduler/pull/1033](https://togithub.com/kubernetes-sigs/descheduler/pull/1033)
- PodLifeTime: support CrashLoopBackOff container state by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1164](https://togithub.com/kubernetes-sigs/descheduler/pull/1164)
- update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause'
by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1166](https://togithub.com/kubernetes-sigs/descheduler/pull/1166)
- TooManyRestart: state filter for CrashLoopBackOff by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1165](https://togithub.com/kubernetes-sigs/descheduler/pull/1165)
- Replace deprecated command with environment file by
[@&#8203;jongwooo](https://togithub.com/jongwooo) in
[https://github.com/kubernetes-sigs/descheduler/pull/1173](https://togithub.com/kubernetes-sigs/descheduler/pull/1173)
- use pod informers for listing pods in
removepodsviolatingtopologyspreadconstraint and
removepodsviolatinginterpodantiaffinity by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1163](https://togithub.com/kubernetes-sigs/descheduler/pull/1163)
- removepodsviolatingtopologyspreadconstraint: implement explicit
constraints by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1148](https://togithub.com/kubernetes-sigs/descheduler/pull/1148)
- FakeClientset: bump watch channel size by
[@&#8203;ingvagabund](https://togithub.com/ingvagabund) in
[https://github.com/kubernetes-sigs/descheduler/pull/1174](https://togithub.com/kubernetes-sigs/descheduler/pull/1174)
- deschedule/balance order (continuation) by
[@&#8203;ingvagabund](https://togithub.com/ingvagabund) in
[https://github.com/kubernetes-sigs/descheduler/pull/1177](https://togithub.com/kubernetes-sigs/descheduler/pull/1177)
- bump log level for processing info by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1141](https://togithub.com/kubernetes-sigs/descheduler/pull/1141)
- fix priority threshold by name alone by
[@&#8203;knelasevero](https://togithub.com/knelasevero) in
[https://github.com/kubernetes-sigs/descheduler/pull/1186](https://togithub.com/kubernetes-sigs/descheduler/pull/1186)
- feat: Enable open telemetry tracing by
[@&#8203;harshanarayana](https://togithub.com/harshanarayana) in
[https://github.com/kubernetes-sigs/descheduler/pull/1189](https://togithub.com/kubernetes-sigs/descheduler/pull/1189)
- bump to k8s 1.28 beta.0 by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1201](https://togithub.com/kubernetes-sigs/descheduler/pull/1201)
- nodefit: aggregate errors by
[@&#8203;lucming](https://togithub.com/lucming) in
[https://github.com/kubernetes-sigs/descheduler/pull/1203](https://togithub.com/kubernetes-sigs/descheduler/pull/1203)
- fix: base configmap missing plugin RemoveDuplicates by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1207](https://togithub.com/kubernetes-sigs/descheduler/pull/1207)
- feat: Implement preferredDuringSchedulingIgnoredDuringExecution for
RemovePodsViolatingNodeAffinity by
[@&#8203;jordipiqueselles](https://togithub.com/jordipiqueselles) in
[https://github.com/kubernetes-sigs/descheduler/pull/1210](https://togithub.com/kubernetes-sigs/descheduler/pull/1210)
- fix: descheduler_loop_duration_seconds has wrong value by
[@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) in
[https://github.com/kubernetes-sigs/descheduler/pull/1215](https://togithub.com/kubernetes-sigs/descheduler/pull/1215)
- .gitattribute to not pollute PRs or stats by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1202](https://togithub.com/kubernetes-sigs/descheduler/pull/1202)
- Bump Kubernetes dependencies to v1.28.0 by
[@&#8203;JaneLiuL](https://togithub.com/JaneLiuL) in
[https://github.com/kubernetes-sigs/descheduler/pull/1216](https://togithub.com/kubernetes-sigs/descheduler/pull/1216)
- profile: fix span attribute typo by
[@&#8203;antoinedeschenes](https://togithub.com/antoinedeschenes) in
[https://github.com/kubernetes-sigs/descheduler/pull/1221](https://togithub.com/kubernetes-sigs/descheduler/pull/1221)
- k8s 1.28: update docs and go-version by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1224](https://togithub.com/kubernetes-sigs/descheduler/pull/1224)

#### New Contributors

- [@&#8203;ratnopamc](https://togithub.com/ratnopamc) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1145](https://togithub.com/kubernetes-sigs/descheduler/pull/1145)
- [@&#8203;mikutas](https://togithub.com/mikutas) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1159](https://togithub.com/kubernetes-sigs/descheduler/pull/1159)
- [@&#8203;nlamirault](https://togithub.com/nlamirault) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1147](https://togithub.com/kubernetes-sigs/descheduler/pull/1147)
- [@&#8203;10hin](https://togithub.com/10hin) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1033](https://togithub.com/kubernetes-sigs/descheduler/pull/1033)
- [@&#8203;jongwooo](https://togithub.com/jongwooo) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1173](https://togithub.com/kubernetes-sigs/descheduler/pull/1173)
- [@&#8203;jordipiqueselles](https://togithub.com/jordipiqueselles) made
their first contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1210](https://togithub.com/kubernetes-sigs/descheduler/pull/1210)
- [@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1215](https://togithub.com/kubernetes-sigs/descheduler/pull/1215)
- [@&#8203;antoinedeschenes](https://togithub.com/antoinedeschenes) made
their first contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1221](https://togithub.com/kubernetes-sigs/descheduler/pull/1221)

**Full Changelog**:
kubernetes-sigs/descheduler@v0.27.0...v0.28.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 becomes conflicted, 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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny44IiwidXBkYXRlZEluVmVyIjoiMzYuNTcuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: repo-jeeves <106431701+repo-jeeves[bot]@users.noreply.github.com>
spirkaa added a commit to spirkaa/infra that referenced this pull request Aug 27, 2023
This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare Source](kubernetes-sigs/descheduler@v0.27.1...v0.28.0)

#### What's Changed

-   add unit tests for version compatibility check by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1096
-   fix plugin arg conversion when using multiple profiles with same plugin by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1143
-   Use dl.k8s.io instead of kubernetes-release bucket by [@&#8203;ratnopamc](https://github.com/ratnopamc) in kubernetes-sigs/descheduler#1145
-   update deprecated sets.String to generic sets by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1146
-   helm: ability to override command and args. set args inline by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1151
-   fix: imagepullsecrets indentation for kind: Deployment by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1150
-   docs: supplement missing link by [@&#8203;mikutas](https://github.com/mikutas) in kubernetes-sigs/descheduler#1159
-   bump chart to v0.27.1 by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1160
-   Custom labels for ServiceMonitor resource by [@&#8203;nlamirault](https://github.com/nlamirault) in kubernetes-sigs/descheduler#1147
-   pod anti-affinity check among nodes by [@&#8203;10hin](https://github.com/10hin) in kubernetes-sigs/descheduler#1033
-   PodLifeTime: support CrashLoopBackOff container state by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1164
-   update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause' by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1166
-   TooManyRestart: state filter for CrashLoopBackOff by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1165
-   Replace deprecated command with environment file by [@&#8203;jongwooo](https://github.com/jongwooo) in kubernetes-sigs/descheduler#1173
-   use pod informers for listing pods in removepodsviolatingtopologyspreadconstraint and removepodsviolatinginterpodantiaffinity by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1163
-   removepodsviolatingtopologyspreadconstraint: implement explicit constraints by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1148
-   FakeClientset: bump watch channel size by [@&#8203;ingvagabund](https://github.com/ingvagabund) in kubernetes-sigs/descheduler#1174
-   deschedule/balance order (continuation) by [@&#8203;ingvagabund](https://github.com/ingvagabund) in kubernetes-sigs/descheduler#1177
-   bump log level for processing info by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1141
-   fix priority threshold by name alone by [@&#8203;knelasevero](https://github.com/knelasevero) in kubernetes-sigs/descheduler#1186
-   feat: Enable open telemetry tracing by [@&#8203;harshanarayana](https://github.com/harshanarayana) in kubernetes-sigs/descheduler#1189
-   bump to k8s 1.28 beta.0 by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1201
-   nodefit: aggregate errors by [@&#8203;lucming](https://github.com/lucming) in kubernetes-sigs/descheduler#1203
-   fix: base configmap missing plugin RemoveDuplicates by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1207
-   feat: Implement preferredDuringSchedulingIgnoredDuringExecution for RemovePodsViolatingNodeAffinity by [@&#8203;jordipiqueselles](https://github.com/jordipiqueselles) in kubernetes-sigs/descheduler#1210
-   fix: descheduler_loop_duration_seconds has wrong value by [@&#8203;Abirdcfly](https://github.com/Abirdcfly) in kubernetes-sigs/descheduler#1215
-   .gitattribute to not pollute PRs or stats by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1202
-   Bump Kubernetes dependencies to v1.28.0 by [@&#8203;JaneLiuL](https://github.com/JaneLiuL) in kubernetes-sigs/descheduler#1216
-   profile: fix span attribute typo by [@&#8203;antoinedeschenes](https://github.com/antoinedeschenes) in kubernetes-sigs/descheduler#1221
-   k8s 1.28: update docs and go-version by [@&#8203;a7i](https://github.com/a7i) in kubernetes-sigs/descheduler#1224

#### New Contributors

-   [@&#8203;ratnopamc](https://github.com/ratnopamc) made their first contribution in kubernetes-sigs/descheduler#1145
-   [@&#8203;mikutas](https://github.com/mikutas) made their first contribution in kubernetes-sigs/descheduler#1159
-   [@&#8203;nlamirault](https://github.com/nlamirault) made their first contribution in kubernetes-sigs/descheduler#1147
-   [@&#8203;10hin](https://github.com/10hin) made their first contribution in kubernetes-sigs/descheduler#1033
-   [@&#8203;jongwooo](https://github.com/jongwooo) made their first contribution in kubernetes-sigs/descheduler#1173
-   [@&#8203;jordipiqueselles](https://github.com/jordipiqueselles) made their first contribution in kubernetes-sigs/descheduler#1210
-   [@&#8203;Abirdcfly](https://github.com/Abirdcfly) made their first contribution in kubernetes-sigs/descheduler#1215
-   [@&#8203;antoinedeschenes](https://github.com/antoinedeschenes) made their first contribution in kubernetes-sigs/descheduler#1221

**Full Changelog**: kubernetes-sigs/descheduler@v0.27.0...v0.28.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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNi41Mi4yIiwidXBkYXRlZEluVmVyIjoiMzYuNTIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://git.devmem.ru/projects/infra/pulls/949
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
renovate bot referenced this pull request in teutonet/teutonet-helm-charts Sep 11, 2023
…0.28.x (#538)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [descheduler](https://togithub.com/kubernetes-sigs/descheduler) |
minor | `0.27.x` -> `0.28.x` |

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/kubernetes-sigs/descheduler/compare/v0.27.1...v0.28.0)

#### What's Changed

- add unit tests for version compatibility check by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1096](https://togithub.com/kubernetes-sigs/descheduler/pull/1096)
- fix plugin arg conversion when using multiple profiles with same
plugin by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1143](https://togithub.com/kubernetes-sigs/descheduler/pull/1143)
- Use dl.k8s.io instead of kubernetes-release bucket by
[@&#8203;ratnopamc](https://togithub.com/ratnopamc) in
[https://github.com/kubernetes-sigs/descheduler/pull/1145](https://togithub.com/kubernetes-sigs/descheduler/pull/1145)
- update deprecated sets.String to generic sets by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1146](https://togithub.com/kubernetes-sigs/descheduler/pull/1146)
- helm: ability to override command and args. set args inline by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1151](https://togithub.com/kubernetes-sigs/descheduler/pull/1151)
- fix: imagepullsecrets indentation for kind: Deployment by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1150](https://togithub.com/kubernetes-sigs/descheduler/pull/1150)
- docs: supplement missing link by
[@&#8203;mikutas](https://togithub.com/mikutas) in
[https://github.com/kubernetes-sigs/descheduler/pull/1159](https://togithub.com/kubernetes-sigs/descheduler/pull/1159)
- bump chart to v0.27.1 by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1160](https://togithub.com/kubernetes-sigs/descheduler/pull/1160)
- Custom labels for ServiceMonitor resource by
[@&#8203;nlamirault](https://togithub.com/nlamirault) in
[https://github.com/kubernetes-sigs/descheduler/pull/1147](https://togithub.com/kubernetes-sigs/descheduler/pull/1147)
- pod anti-affinity check among nodes by
[@&#8203;10hin](https://togithub.com/10hin) in
[https://github.com/kubernetes-sigs/descheduler/pull/1033](https://togithub.com/kubernetes-sigs/descheduler/pull/1033)
- PodLifeTime: support CrashLoopBackOff container state by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1164](https://togithub.com/kubernetes-sigs/descheduler/pull/1164)
- update pause image from 'kubernetes/pause' to 'registry.k8s.io/pause'
by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1166](https://togithub.com/kubernetes-sigs/descheduler/pull/1166)
- TooManyRestart: state filter for CrashLoopBackOff by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1165](https://togithub.com/kubernetes-sigs/descheduler/pull/1165)
- Replace deprecated command with environment file by
[@&#8203;jongwooo](https://togithub.com/jongwooo) in
[https://github.com/kubernetes-sigs/descheduler/pull/1173](https://togithub.com/kubernetes-sigs/descheduler/pull/1173)
- use pod informers for listing pods in
removepodsviolatingtopologyspreadconstraint and
removepodsviolatinginterpodantiaffinity by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1163](https://togithub.com/kubernetes-sigs/descheduler/pull/1163)
- removepodsviolatingtopologyspreadconstraint: implement explicit
constraints by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1148](https://togithub.com/kubernetes-sigs/descheduler/pull/1148)
- FakeClientset: bump watch channel size by
[@&#8203;ingvagabund](https://togithub.com/ingvagabund) in
[https://github.com/kubernetes-sigs/descheduler/pull/1174](https://togithub.com/kubernetes-sigs/descheduler/pull/1174)
- deschedule/balance order (continuation) by
[@&#8203;ingvagabund](https://togithub.com/ingvagabund) in
[https://github.com/kubernetes-sigs/descheduler/pull/1177](https://togithub.com/kubernetes-sigs/descheduler/pull/1177)
- bump log level for processing info by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1141](https://togithub.com/kubernetes-sigs/descheduler/pull/1141)
- fix priority threshold by name alone by
[@&#8203;knelasevero](https://togithub.com/knelasevero) in
[https://github.com/kubernetes-sigs/descheduler/pull/1186](https://togithub.com/kubernetes-sigs/descheduler/pull/1186)
- feat: Enable open telemetry tracing by
[@&#8203;harshanarayana](https://togithub.com/harshanarayana) in
[https://github.com/kubernetes-sigs/descheduler/pull/1189](https://togithub.com/kubernetes-sigs/descheduler/pull/1189)
- bump to k8s 1.28 beta.0 by [@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1201](https://togithub.com/kubernetes-sigs/descheduler/pull/1201)
- nodefit: aggregate errors by
[@&#8203;lucming](https://togithub.com/lucming) in
[https://github.com/kubernetes-sigs/descheduler/pull/1203](https://togithub.com/kubernetes-sigs/descheduler/pull/1203)
- fix: base configmap missing plugin RemoveDuplicates by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1207](https://togithub.com/kubernetes-sigs/descheduler/pull/1207)
- feat: Implement preferredDuringSchedulingIgnoredDuringExecution for
RemovePodsViolatingNodeAffinity by
[@&#8203;jordipiqueselles](https://togithub.com/jordipiqueselles) in
[https://github.com/kubernetes-sigs/descheduler/pull/1210](https://togithub.com/kubernetes-sigs/descheduler/pull/1210)
- fix: descheduler_loop_duration_seconds has wrong value by
[@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) in
[https://github.com/kubernetes-sigs/descheduler/pull/1215](https://togithub.com/kubernetes-sigs/descheduler/pull/1215)
- .gitattribute to not pollute PRs or stats by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1202](https://togithub.com/kubernetes-sigs/descheduler/pull/1202)
- Bump Kubernetes dependencies to v1.28.0 by
[@&#8203;JaneLiuL](https://togithub.com/JaneLiuL) in
[https://github.com/kubernetes-sigs/descheduler/pull/1216](https://togithub.com/kubernetes-sigs/descheduler/pull/1216)
- profile: fix span attribute typo by
[@&#8203;antoinedeschenes](https://togithub.com/antoinedeschenes) in
[https://github.com/kubernetes-sigs/descheduler/pull/1221](https://togithub.com/kubernetes-sigs/descheduler/pull/1221)
- k8s 1.28: update docs and go-version by
[@&#8203;a7i](https://togithub.com/a7i) in
[https://github.com/kubernetes-sigs/descheduler/pull/1224](https://togithub.com/kubernetes-sigs/descheduler/pull/1224)

#### New Contributors

- [@&#8203;ratnopamc](https://togithub.com/ratnopamc) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1145](https://togithub.com/kubernetes-sigs/descheduler/pull/1145)
- [@&#8203;mikutas](https://togithub.com/mikutas) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1159](https://togithub.com/kubernetes-sigs/descheduler/pull/1159)
- [@&#8203;nlamirault](https://togithub.com/nlamirault) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1147](https://togithub.com/kubernetes-sigs/descheduler/pull/1147)
- [@&#8203;10hin](https://togithub.com/10hin) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1033](https://togithub.com/kubernetes-sigs/descheduler/pull/1033)
- [@&#8203;jongwooo](https://togithub.com/jongwooo) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1173](https://togithub.com/kubernetes-sigs/descheduler/pull/1173)
- [@&#8203;jordipiqueselles](https://togithub.com/jordipiqueselles) made
their first contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1210](https://togithub.com/kubernetes-sigs/descheduler/pull/1210)
- [@&#8203;Abirdcfly](https://togithub.com/Abirdcfly) made their first
contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1215](https://togithub.com/kubernetes-sigs/descheduler/pull/1215)
- [@&#8203;antoinedeschenes](https://togithub.com/antoinedeschenes) made
their first contribution in
[https://github.com/kubernetes-sigs/descheduler/pull/1221](https://togithub.com/kubernetes-sigs/descheduler/pull/1221)

**Full Changelog**:
kubernetes-sigs/descheduler@v0.27.0...v0.28.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/teutonet/teutonet-helm-charts).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Chris Werner Rau <[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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants