Kubernetes 101 - Control Plane

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
No comments yet. Be the first to comment.
We'll check out the node component in more detail for this article. The node component is a component that runs on every node, and it's responsible for maintaining running pods and providing the Kubernetes runtime environment. It closely connects wit...
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

As mentioned in the previous article, on one side of Kubernetes, we get something called the control plane.
This is the control system that can make decisions about the cluster. For example, ensuring enough pods are online at all times and routing traffic correctly.
The control plane is really like the brains of the operation. It includes several components that control your cluster, manage data, state data, and configuration.
It's also solely responsible for ensuring the cluster works the way you want it to, which you defined declaratively (more on that later).
Let's take a closer look at the components inside the control plane.
The API server is one of the components inside the control plane, and it exposes the Kubernetes API. This API server is the front end of the Kubernetes control plane.
It's responsible for all external and internal requests. The API server is also designed to scale horizontally, meaning you can spool up multiple instances and communicate between them.
This particular component is used for scheduling pods onto specific nodes according to your needs and resources. It can determine the best place to put a pod based on multiple requirements.
The controller is a component that handles all the controller processes, of which we have multiple combined in this one.
Some of these types are:
And so on, there is a bigger list. Let's go into detail in another article.
The controller manager, it's the overseer of all the individual controllers.
This consists of a key-value database used by Kubernetes to store information about your cluster state and config.
This particular element contains cloud-specific logic. It lets you link the uniform Kubernetes and each cloud provider's specific needs.
It's important to note this component only exists when running your service on a cloud provider. Locally there is no need for one.
As with the kube-controller-manager, the cloud controller is split into multiple individual controllers depending on the cloud provider's offer.
The Control Plane is the brains of the operation and can interact between all the resources and systems our cluster needs.
It provides multiple individual components that all serve their purposes.
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter