This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 549
[Pod Eviction] Disable kubernetes's hard Eviction #2124
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
have you tested it? |
Haven't test it yet. |
please have it test |
wangdian
approved these changes
Feb 11, 2019
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.
According to test result, this setting will run image gc when disk usage at 100%.
Confirmed with Yundong, this is for disk space and the memory restriction was not tested and removed.
wangdian
added a commit
that referenced
this pull request
Feb 13, 2019
* Cleaner logic * Fix bug * 1. Remove worker 2. Add interval as var 3. Kill docker, send signal * Fix '\t' * Bug fix * Import re in common * Update openjdk build version * [JDK] Remove JDK version hardcode and add print in pai_build for debuging (#2123) * Change kill signal to 10 (SIGUSR1) * [Pod Eviction] Disable kubernetes's pod eviction (#2124) * According to kubernetes/kubernetes#71661 * add imagegc threshold * Add k8s_POD to white list Add markdown document for cleaner configuration * Minor bug fix * Cleaner logic * Fix bug * 1. Remove worker 2. Add interval as var 3. Kill docker, send signal * Fix '\t' * Bug fix * Import re in common * Update openjdk build version * Change kill signal to 10 (SIGUSR1) * Add k8s_POD to white list Add markdown document for cleaner configuration * Cleaner logic * Fix bug * 1. Remove worker 2. Add interval as var 3. Kill docker, send signal * Fix '\t' * Bug fix * Import re in common * Update openjdk build version * Change kill signal to 10 (SIGUSR1) * Add k8s_POD to white list Add markdown document for cleaner configuration * Add comment on cleaner kill handler in rest-server
scarlett2018
changed the title
[Pod Eviction] Disable kubernetes's hard enicvtion
[Pod Eviction] Disable kubernetes's hard Eviction
Feb 25, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1: Disable pod eviction behavior
2: Set the image gc threshold to 100%. And when image gc is triggered, kubelet will continue do image gc until the file system's space is below 95%.