Created
February 9, 2020 21:23
-
-
Save letsjustfixit/988c89480eaa328bdf728793e4fd5cc0 to your computer and use it in GitHub Desktop.
Force purge removed consul containers one liner
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
consul members | grep left | cut -d ' ' -f 1 | xargs -I{} echo "consul force-leave -prune {}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment