The Third Report Of My Challenge | Answered Two Questions
2 more questions are covered now.
After the release of the second report, I got many answers. Now It's time for the third report in which I am going to answer 2 more questions.
I recorded a video about the same topic also that you can watch and it will help you better understand it.
The first question is:
What is StatefulSet?
StatefulSet is a Kubernetes component that is used for stateful applications
Stateful application
It stores the data to keep track of its state. It means that the data will be present in some kind of storage.
Stateful applications are deployed using the StatefulSet component. StatefulSet makes it possible to replicate and run multiple identical pods in a cluster.
Stateless application
It does not keep a record of the state. Each request is completely new for it.
Stateless applications are deployed using the deployment component. Deployment allows you to replicate pods. It means that it will run multiple identical pods in a cluster.
What are Controllers?
In robotics and automation, a control loop is a non-terminating loop that regulates the state of a system.
Here is one example of a control loop: a thermostat in a room.
When you set the temperature, that's telling the thermostat about your desired state. The actual room temperature is the current state. The thermostat acts to bring the current state closer to the desired state, by turning equipment on or off.
In Kubernetes, controllers are control loops that watch the state of your cluster, then request changes where it is needed. Each controller tries to move the current cluster state closer to the desired state.
Resources
YouTube video explaining StatefulSet.
An Article explaining StatefulSet.
YouTube video explaining Controllers.
Article explaining Controllers.
DoK Community 2022 report discusses these concepts.
Join the slack channel of the DoK Community.
Next Step
The next step is to solve two more questions that I have added here. You can check them out.
That's it for now. Did you like this blog? Please let me know.
You can Buy Me a Coffee if you want to and please don't forget to follow me on YouTube, Twitter, and LinkedIn also.
Happy Learning!