go.etcd.io/etcd@v3.3.27+incompatible/hack/kubernetes-deploy/README.md (about)

     1  # etcd on Kubernetes
     2  
     3  This is an example setting up etcd as a set of pods and services running on top of kubernetes. Using:
     4  
     5  ```
     6  $ kubectl create -f etcd.yml 
     7  services/etcd-client
     8  pods/etcd0
     9  services/etcd0
    10  pods/etcd1
    11  services/etcd1
    12  pods/etcd2
    13  services/etcd2
    14  $ # now deploy a service that consumes etcd, such as vulcand
    15  $ kubectl create -f vulcand.yml
    16  ```
    17  
    18  TODO:
    19  
    20  - create a replication controller like service that knows how to add and remove nodes from the cluster correctly
    21  - use kubernetes secrets API to configure TLS for etcd clients and peers