Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt: Skip "Pending" pods when draining a node
In most cases, it does not make sense to try to evict a Pod which is Pending as this one is not yet running and it also can cause trouble during MetalK8s expansions as some Pod may be Pending on a node that is not yet deployed (so the Pending pod cannot get evicted). Let's skip "Pending" pods by default when we drain a node in `deploy_node` orchestrate (used during expansions and upgrade, downgrade)
- Loading branch information
1 parent
8a3e55d
commit 60df8ec
Showing
4 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
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