Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Clarify podRestartThreshold applying to the sum over containers
calcContainerRestarts sums over containers. The new language makes that clear, avoiding potential confusion vs. an altenative that looked for pods where a single container had passed the configured threshold. For example, with three containers with 50 restarts and a threshold of 100, the actual "sum over containers" logic makes that pod a candidate for descheduling, but the "largest single container restart count" hypothetical would not have made it a candidate. Also shifts labelSelector into the parameter table, because when it was added in 29ade13 (README and e2e-testcase add for labelSelector, 2021-03-02, kubernetes-sigs#510), it landed a few lines too high.
- Loading branch information