-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
[KEP-2400]: Swap eviction signal #128137
base: master
Are you sure you want to change the base?
[KEP-2400]: Swap eviction signal #128137
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
c7b66d0
to
0ca319f
Compare
/hold cancel |
0ca319f
to
5f3097a
Compare
@@ -80,6 +80,12 @@ func AddOrUpdateDaemonPodTolerations(spec *v1.PodSpec) { | |||
Effect: v1.TaintEffectNoSchedule, | |||
}) | |||
|
|||
v1helper.AddOrUpdateTolerationInPodSpec(spec, &v1.Toleration{ |
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.
Needs to be feature gated.
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.
done.
/test pull-kubernetes-node-swap-fedora-serial |
ae12042
to
beb3776
Compare
/test pull-kubernetes-node-swap-fedora-serial |
4 similar comments
/test pull-kubernetes-node-swap-fedora-serial |
/test pull-kubernetes-node-swap-fedora-serial |
/test pull-kubernetes-node-swap-fedora-serial |
/test pull-kubernetes-node-swap-fedora-serial |
95a93e4
to
7ce1289
Compare
/test pull-kubernetes-node-swap-fedora-serial |
2 similar comments
/test pull-kubernetes-node-swap-fedora-serial |
/test pull-kubernetes-node-swap-fedora-serial |
6176cc5
to
13c9971
Compare
/test pull-kubernetes-node-swap-fedora-serial |
@yujuhong I worked on some e2e tests and I got them working. |
13c9971
to
3fb95ff
Compare
/test pull-kubernetes-node-swap-fedora-serial |
/retest |
/test pull-kubernetes-node-swap-fedora-serial |
Tests still seem to be a work in progress.. |
/test pull-kubernetes-node-swap-fedora-serial |
/hold |
I am using kubernetes/test-infra#33753 to test the eviction tests and I am running into some difficulties. I think we should not push this for this release and we will continue to look into this. |
ACK. Thanks for the update. |
@kannon92: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Make eviction manager aware of swap as a resource
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
We introduce a new eviction signal called
swap.available
which tracks the swap usage. Once this swap usage is passed the user specified eviction signal, then evictions will be based on swap usage.I added a commit for Swap KEP that explains these changes: kubernetes/enhancements@85e36dc
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: