Uninstalling a Cluster
If you installed the Cluster via the install-demo-cluster.sh
installer script, then you can uninstall the Cluster, along with its underlying k3s Kubernetes cluster as follows:
./install-demo-cluster.sh --uninstall
If you installed the Cluster manually via the octops init
command, then you can uninstall it as follows:
octops uninstall <DOMAIN>
You can also explicitly set a kubeconfig file path as follows:
octops uninstall <DOMAIN> --kubeconfig </PATH/TO/CLUSTER/KUBECONFIG>
NOTE
Almost all Kubernetes resources created by Octelium are namespaced and exist in the octelium
Kubernetes namespace. Therefore you can effectively uninstall the Octelium Cluster by deleting that Kubernetes namespace as follows:
kubectl delete ns octelium