Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 918 Bytes

File metadata and controls

41 lines (28 loc) · 918 Bytes

Installation guide

Set up RBAC

Set up basic RBAC rules for etcd operator:

$ example/rbac/create_role.sh

Install CRD

$ kubectl create -f example/crd

Install etcd operator

Create a deployment for etcd operator:

$ kubectl create -f example/deployment.yaml

Uninstall etcd operator

Note that the etcd clusters managed by etcd operator will NOT be deleted even if the operator is uninstalled.

This is an intentional design to prevent accidental operator failure from killing all the etcd clusters.

To delete all clusters, delete all cluster CR objects before uninstalling the operator.

Clean up etcd operator:

kubectl delete -f example/deployment.yaml
kubectl delete endpoints etcd-operator
kubectl delete -f example/crd
kubectl delete clusterrole etcd-operator
kubectl delete clusterrolebinding etcd-operator