Report this

What is the reason for this report?

What is etcd-0 on my Kubernetes cluster?

Posted on June 1, 2019

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"}  


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.