This commit is contained in:
Garrett Mills
2019-04-30 13:21:03 -05:00
commit c864e76a2d
8 changed files with 98 additions and 0 deletions

13
stop_cluster.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Stop the cluster.
cd cluster
helm template chart --namespace cluster --name cluster -f ../definitions/cluster_definition.yaml -f ssh-key.yaml | kubectl -n cluster delete -f -
# Delete the Kubernetes resources.
cd ..
kubectl delete -f definitions/account_definitions.yaml
kubectl delete -f definitions/namespace_definition.yaml