Difference between revisions of "Kubernetes Delete Namespace"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "kubectl api-resources --verbs=list --namespaced -o name \ > | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph")
 
Line 1: Line 1:
 +
```
 
kubectl api-resources --verbs=list --namespaced -o name \
 
kubectl api-resources --verbs=list --namespaced -o name \
 
>  | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph
 
>  | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph
 +
 +
 +
kubectl delete cephcluster.ceph.rook.io/rook-ceph -n rook-ceph
 +
```

Revision as of 21:51, 19 June 2021

kubectl api-resources --verbs=list --namespaced -o name \
>   | xargs -n 1 kubectl get --show-kind --ignore-not-found -n rook-ceph


kubectl delete cephcluster.ceph.rook.io/rook-ceph -n rook-ceph