Created
October 12, 2022 07:23
-
-
Save darkn3rd/eb223d5f2b9e65e8cd3ca946b1c05713 to your computer and use it in GitHub Desktop.
GKE/CCSM: cleanup kubernetes resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source env.sh | |
# delete pydgraph-client | |
helmfile --file ./examples/dgraph/helmfile.yaml delete | |
kubectl delete namespace pydgraph-client | |
# delete dgraph | |
helmfile --file ./examples/dgraph/helmfile.yaml delete | |
kubectl delete pvc --selector app=dgraph --namespace "dgraph" | |
kubectl delete namespace dgraph | |
# delete consul | |
helmfile --file ./consul/helmfile.yaml delete | |
kubectl delete pvc --selector app=consul --namespace "consul" | |
kubectl delete namespace consul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment