mysql-operator
Quickstart
Install the operator named test
:
helm install test https://github.com/zhyass/mysql-operator/releases/latest/download/mysql-operator.tgz
Then install the cluster named sample
:
kubectl apply -f https://raw.githubusercontent.com/zhyass/mysql-operator/master/config/samples/mysql_v1_cluster.yaml
Uninstall
Uninstall the cluster named sample
:
kubectl delete clusters.mysql.radondb.io sample
To delete the pvc:
kubectl delete pvc data-sample-mysql-0
kubectl delete pvc data-sample-mysql-1
kubectl delete pvc data-sample-mysql-2
Uninstall the operator name test
:
helm uninstall test
Uninstall the crd:
kubectl delete customresourcedefinitions.apiextensions.k8s.io clusters.mysql.radondb.io