Added example

This commit is contained in:
Michele Cereda
2022-04-20 09:28:27 +02:00
parent 66773e2710
commit 33e58da033

View File

@@ -24,6 +24,11 @@ kubectl get nodes \
# remove a taint # remove a taint
# notice the '-' sign at the end # notice the '-' sign at the end
kubectl taint nodes node1 key1=value1:NoSchedule- kubectl taint nodes node1 key1=value1:NoSchedule-
# delete non-default service accounts
kubectl delete serviceaccounts \
$(kubectl get serviceaccounts -o jsonpath="{.items[?(@.metadata.name!='default')].metadata.name}" \
| tr ' ' ',')
``` ```
## Further readings ## Further readings