mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
243 B
243 B
Kubectl
TL;DR
# taint all nodes in a certain nodepool (azure aks)
kubectl get nodes \
-l "agentpool=nodepool1" \
-o jsonpath='{.items[*].metadata.name}'
| xargs -n1 -I{} -p kubectl taint nodes {} key1=value1:NoSchedule