Etcd Cluster Operator is an Operator for automating the creation and management of etcd inside of Kubernetes. It provides a custom resource definition (CRD) based API to define etcd clusters with Kubernetes resources, and enable management with native Kubernetes tooling.
See the installation instructions for installing the operator to your Kubernetes cluster. If you want to experiment with the operator, considering using kind to run a local cluster.
Once installed you can create an etcd cluster by using kubectl
to apply an EtcdCluster
.
apiVersion: etcd.improbable.io/v1alpha1
kind: EtcdCluster
metadata:
name: my-first-etcd-cluster
spec:
replicas: 3
version: 3.2.28