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
bug 1814547: Rebase upstream 1.18 #30
bug 1814547: Rebase upstream 1.18 #30
Commits on May 6, 2020
Commits on May 7, 2020
-
-
Merge pull request kubernetes-sigs#277 from damemi/damemi-approvers
Add damemi to approvers
-
Merge pull request kubernetes-sigs#276 from damemi/toomanyrestarts-po…
…inter Switch PodsHavingTooManyRestarts params to pointer
Commits on May 8, 2020
-
The new PodLifeTime descheduler strategy can be used to evict pods that were created more than the configured number of seconds ago. In the below example pods created more than 24 hours ago will be evicted. ```` apiVersion: "descheduler/v1alpha1" kind: "DeschedulerPolicy" strategies: "PodLifeTime": enabled: true params: maxPodLifeTimeSeconds: 86400 ````
-
-
-
Merge pull request kubernetes-sigs#274 from KohlsTechnology/pod-lifet…
…ime-strategy Add New PodLifeTime Strategy
Commits on May 12, 2020
Commits on May 13, 2020
-
Merge pull request kubernetes-sigs#281 from KohlsTechnology/update-tr…
…avis-ci Update Travis CI build matrix with latest k8s point releases
Commits on May 14, 2020
-
Add namespace to pod eviction log messages
In multi-tenant environments it is useful to know which namespace a pod was evicted from. Therefore log the namespace when evicting pods. Also, do not log a nil error when successfully evicting pods.
-
Log an error when EvictPod method returns a non-nil error
End users should be able to see the detailed error from the EvictPod method when it fails. Updates all strategies to log the error. The PodLifeTime strategy already logs this error.
-
Refactor function EvictPod to only return an error
The EvictPod function previously returned a bool and an error. The function now only returns an error. Callers can check for failure by testing if the returned error is not nil. This aligns the EvictPod function with idiomatic Go best practices. Also, the function name has been changed from EvictPod to evictPod because it is not used outside the evictions package.
-
-
Merge pull request kubernetes-sigs#279 from KohlsTechnology/eviction-…
…logs Add Additional Details To Pod Eviction Log Messages
Commits on May 15, 2020
-
Consider pod image in duplicates strategy
This increases the specificity of the RemoveDuplicates strategy by removing pods which not only have the same owner, but who also must have the same list of container images. This also adds a parameter, `ExcludeOwnerKinds` to the RemoveDuplicates strategy which accepts a list of Kinds. If a pod has any of these Kinds as an owner, that pod is not considered for eviction.
-
Merge pull request kubernetes-sigs#275 from damemi/image-in-duplicates
Consider pod image in duplicates strategy
-