Skip to content

Instantly share code, notes, and snippets.

@darkn3rd
Created October 12, 2022 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darkn3rd/eb223d5f2b9e65e8cd3ca946b1c05713 to your computer and use it in GitHub Desktop.
Save darkn3rd/eb223d5f2b9e65e8cd3ca946b1c05713 to your computer and use it in GitHub Desktop.
GKE/CCSM: cleanup kubernetes resources
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