title | weight | description |
---|---|---|
Quickstart |
0 |
Get etcd with etcd-operator up and running in less than 5 minutes! |
Follow these instructions to install, run, and test etcd with etcd-operator in a Kubernetes cluster.
Pre-requisites:
- kubectl
- kustomize
- Kubernetes cluster and
kubectl
configured to use it- If you don't have a Kubernetes cluster, you can use kind to create a local one
- cert-manager installed in the cluster
-
Install etcd-operator:
kustomize build 'https://github.com/aenix-io/etcd-operator//config/default?ref=main' | kubectl apply -f -
-
Check the operator is running:
kubectl get pods -n etcd-operator-system -l control-plane=controller-manager
-
Create an etcd cluster:
kubectl apply -f https://github.com/aenix-io/etcd-operator/raw/main/config/samples/etcd.aenix.io_v1alpha1_etcdcluster.yaml
Caution: by default emptyDir storage is used. It means such cluster configuration is not intended for long-term storage.
-
Check the etcd cluster is running:
kubectl get pods -l app.kubernetes.io/managed-by=etcd-operator