Created
December 28, 2021 09:14
-
-
Save ebuildy/0cf987a3a385c6dcaa75d3155df0fba4 to your computer and use it in GitHub Desktop.
Update kubernetes pod labels, bulk mode
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
# get pods to update | |
kubectl get pods --selector=elastic.org/elasticsearch-cluster=hot --output=jsonpath={.items..metadata.name} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment