Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Created December 28, 2021 09:14
Show Gist options
  • Select an option

  • Save ebuildy/0cf987a3a385c6dcaa75d3155df0fba4 to your computer and use it in GitHub Desktop.

Select an option

Save ebuildy/0cf987a3a385c6dcaa75d3155df0fba4 to your computer and use it in GitHub Desktop.
Update kubernetes pod labels, bulk mode
# 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