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

backport "daemonset-eviction-for-empty-nodes" and "daemonset-eviction-for-occupied-nodes" from 1.22 to 1.21 #4830

Closed
jmenan opened this issue Apr 27, 2022 · 6 comments
Assignees
Labels
area/cluster-autoscaler kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@jmenan
Copy link

jmenan commented Apr 27, 2022

Which component are you using?:

cluster-autoscaler

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

With version 1.22 cluster-autoscaler introduces the possibility to manage the eviction of daemonsets differently :

But in previous versions this is not possible and may cause bugs.
One of these bugs is perfectly described in this issue: #4337

Describe the solution you'd like.:

backport the options daemonset-eviction-for-empty-nodes and daemonset-eviction-for-occupied-nodes to previous version of cluster-autoscaler ( ≤1.21)

Describe any alternative solutions you've considered.:

Additional context.:

In our case, this causes a bug during a downscale if there is a pod on the node that uses a PVC.
because we use an "aws-ebs-csi-driver" daemonset to manage our PVCs and in this case the "aws-ebs-csi-driver" pod is killed before our application pod and so it loses communication with its PVC

@jmenan jmenan added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 27, 2022
@Shubham82
Copy link
Contributor

If it is valid to do then I would like to work on it.

Hi, @gjtempleton @MaciekPytel @jbartosik your thoughts on this.

@Shubham82
Copy link
Contributor

/assign

@Shubham82
Copy link
Contributor

Fixed it here: #4916

PTAL!

@k8s-triage-robot
Copy link

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

This bot triages issues and 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 issue is closed

You can:

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

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 23, 2022
@Shubham82
Copy link
Contributor

/close
with reference to #4916

@k8s-ci-robot
Copy link
Contributor

@Shubham82: Closing this issue.

In response to this:

/close
with reference to #4916

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

5 participants