mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added example
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user