This commit is contained in:
Jerome Petazzoni
2019-05-26 14:17:03 -05:00
3 changed files with 16 additions and 13 deletions

View File

@@ -14,11 +14,7 @@ done
```
```bash
if which kubectl; then
kubectl get deploy,ds -o name | xargs -rn1 kubectl delete
kubectl get all -o name | grep -v service/kubernetes | xargs -rn1 kubectl delete --ignore-not-found=true
kubectl -n kube-system get deploy,svc -o name | grep -v dns | xargs -rn1 kubectl -n kube-system delete
fi
# FIXME find a way to reset the cluster, maybe?
```
-->