AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Kubernetes annotations1/4/2024 It certainly could (more on this later), but it's not a great fit for the specific requirements of Kubernetes. Why etcd?Ĭould the API server use a SQL database like MySQL or PostgreSQL to persist its data? The API server, which coordinates between all of the control plane processes and the nodes.Īrchitecturally speaking, the API server is a CRUD application that's not fundamentally different from, say, WordPress - most of what it does is storing and serving data.Īnd like WordPress, it needs a database to store its persisted data, which is where etcd fits into the picture.Node-specific processes, the most important of which is Kubelet, which handle the nitty-gritty of setting up pods and networking based on the desired configuration.Centralized controllers like the scheduler, controller-manager, and third-party controllers, which configure pods and other resources.How etcd fits into KubernetesĪt a high level, a Kubernetes cluster has three categories of control-plane processes: This article will introduce how etcd works so you can get a deeper understanding of the inner workings of Kubernetes, as well as giving you some extra tools in your cluster troubleshooting toolbox. If you've ever interacted with a Kubernetes cluster in any way, chances are it was powered by etcd under the hood.īut even though etcd is at the heart of how Kubernetes works, it's rare to interact with it directly on a day-to-day basis. TL DR: In this article, you will learn why Kubernetes uses etcd as a database by building (and breaking) a 3-node etcd cluster.
0 Comments
Read More
Leave a Reply. |