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
added replicas count for daemonsets to prevent massive pod eviction #4978
added replicas count for daemonsets to prevent massive pod eviction #4978
Conversation
|
Welcome @RomanenkoDenys! |
/assign @krzysied |
Hello, @krzysied @jbartosik. What can we do to move this PR further? It seems stuck without comments, and it is unceratin what to do next. We will appreciate any instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some small comments for code.
From description of the PR it sounds like there will be an user-visible change to behavior of VPA with regards to DaemonSets.
Can you give an example of situation where this improves VPAs behavior? (it might be worth adding a e2e test for this).
vertical-pod-autoscaler/pkg/updater/eviction/pods_eviction_restriction.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/updater/eviction/pods_eviction_restriction_test.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/updater/eviction/pods_eviction_restriction_test.go
Outdated
Show resolved
Hide resolved
Hi, I see that you addressed my comments for small code clean ups. Could you:
|
f1fa118
to
7d73f04
Compare
Signed-off-by: Denis Romanenko <denis.romanenko@flant.com>
7d73f04
to
2870e1e
Compare
Hi, @jbartosik. I did what you asked, thanks for the reply! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jbartosik, RomanenkoDenys 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 |
…t-replicas added replicas count for daemonsets to prevent massive pod eviction
Which component this PR applies to?
vertical-pod-autoscaler
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds ability to count "replicas" in daemonsets, to prevent massive one-time pod restart in daemonsets.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: