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
#!/bin/bash | |
## | |
## This aims to be an alternative to `kubectl drain NODE`, overcoming | |
## some of its limitations. A GitHub issue was closed a while ago | |
## without any solution or alternatives. | |
## | |
## https://github.com/kubernetes/kubernetes/issues/48307 | |
## | |
## Even though `kubectl drain` respects PDBs defined by the user, |