Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.33 KB

quickstart.md

File metadata and controls

33 lines (29 loc) · 1.33 KB
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
  1. Install etcd-operator:

    kustomize build 'https://github.com/aenix-io/etcd-operator//config/default?ref=main' | kubectl apply -f -
  2. Check the operator is running:

    kubectl get pods -n etcd-operator-system -l control-plane=controller-manager
  3. 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.

  4. Check the etcd cluster is running:

    kubectl get pods -l app.kubernetes.io/managed-by=etcd-operator