Question

What is etcd-0 on my Kubernetes cluster?

Posted June 1, 2019 514 views
Ubuntu Kubernetes

Hi,

When I run kubectl get cs I see etcd-0 running. Is this etcd the shared k/v store or is it something else? I ask because even though I see the service I don’t see any indication that I can interact with it.

➜  ~ kubectl get cs
NAME                 STATUS    MESSAGE             ERROR
controller-manager   Healthy   ok                  
scheduler            Healthy   ok                  
etcd-0               Healthy   {"health":"true"}  

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

The etcd-0 is in fact the component for the key/value store within the cluster. This is not accessible for general use. If you need a key/value store, you should deploy your own deployment or stateful set to provide the service for your workload. Some of the kube-system components leverage this instance for operation within the cluster in addition to the cluster operation itself.

Submit an Answer