Question

What is etcd-0 on my Kubernetes cluster?

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.