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

bug 1814547: Rebase upstream 1.18 #30

Merged
merged 25 commits into from May 15, 2020

Commits on May 6, 2020

  1. Add damemi to approvers

    damemi committed May 6, 2020
    Copy the full SHA
    b019a58 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fa335c7 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. Fix readme

    lixiang233 committed May 7, 2020
    Copy the full SHA
    635348e View commit details
    Browse the repository at this point in the history
  2. Merge pull request kubernetes-sigs#277 from damemi/damemi-approvers

    Add damemi to approvers
    k8s-ci-robot committed May 7, 2020
    Copy the full SHA
    beae282 View commit details
    Browse the repository at this point in the history
  3. Merge pull request kubernetes-sigs#276 from damemi/toomanyrestarts-po…

    …inter
    
    Switch PodsHavingTooManyRestarts params to pointer
    k8s-ci-robot committed May 7, 2020
    Copy the full SHA
    211f394 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    31c7855 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. Add New PodLifeTime Strategy

    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
    ````
    seanmalloy committed May 8, 2020
    Copy the full SHA
    423ee35 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    668d727 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    643cd47 View commit details
    Browse the repository at this point in the history
  4. Merge pull request kubernetes-sigs#274 from KohlsTechnology/pod-lifet…

    …ime-strategy
    
    Add New PodLifeTime Strategy
    k8s-ci-robot committed May 8, 2020
    Copy the full SHA
    c01cfcf View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Copy the full SHA
    741b35e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    eec1104 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c20a595 View commit details
    Browse the repository at this point in the history
  4. Merge pull request kubernetes-sigs#280 from damemi/k8s-1.18

    Update to k8s 1.18.2 dependencies
    k8s-ci-robot committed May 12, 2020
    Copy the full SHA
    d7e9305 View commit details
    Browse the repository at this point in the history
  5. Resolve merge conflicts

    damemi committed May 12, 2020
    Copy the full SHA
    731d3c8 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Copy the full SHA
    4941f6a View commit details
    Browse the repository at this point in the history
  2. Merge pull request kubernetes-sigs#281 from KohlsTechnology/update-tr…

    …avis-ci
    
    Update Travis CI build matrix with latest k8s point releases
    k8s-ci-robot committed May 13, 2020
    Copy the full SHA
    25336da View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. 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.
    seanmalloy committed May 14, 2020
    Copy the full SHA
    4819ab9 View commit details
    Browse the repository at this point in the history
  2. 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.
    seanmalloy committed May 14, 2020
    Copy the full SHA
    cff9842 View commit details
    Browse the repository at this point in the history
  3. 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.
    seanmalloy committed May 14, 2020
    Copy the full SHA
    7039b6c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    55afde6 View commit details
    Browse the repository at this point in the history
  5. Merge pull request kubernetes-sigs#279 from KohlsTechnology/eviction-…

    …logs
    
    Add Additional Details To Pod Eviction Log Messages
    k8s-ci-robot committed May 14, 2020
    Copy the full SHA
    04efe65 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. 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.
    damemi committed May 15, 2020
    Copy the full SHA
    c6ff87d View commit details
    Browse the repository at this point in the history
  2. Merge pull request kubernetes-sigs#275 from damemi/image-in-duplicates

    Consider pod image in duplicates strategy
    k8s-ci-robot committed May 15, 2020
    Copy the full SHA
    34550d4 View commit details
    Browse the repository at this point in the history
  3. travis.yml merge conflict

    damemi committed May 15, 2020
    Copy the full SHA
    e396094 View commit details
    Browse the repository at this point in the history