Kubernetes StatefulSet simply explained | Deployment vs StatefulSet

preview_player
Показать описание
StatefulSet Kubernetes | Understand what StatefulSet in Kubernetes is and how it works

In this Kubernetes StatefulSet tutorial, I explain the difference between Deployment and StatefulSet.
I also show you how to deploy databases using StatefulSet component.

Kubernetes StatefulSets are used to deploy specifically stateful applications. In order to understand how StatefulSet works, you first need to understand how database clusters work, as well concepts of Kubernets StatefulSet vs Deployment.

While StatefulSet is used for stateful applications, Deployment component is used to deploy stateless applications. So the question is: what is the difference between Deployment and StatefulSet components?

Pods deployed by Deployment are identical and interchangeable, created in random order with random hashes in their Pod names.
In contrast to that, the Pods deployed by StatefulSet component are NOT identical. They each have their own sticky identity, which they keep between restarts and each can be addressed individually. Thus, they can't be created or deleted at the same time or in any order.

How these identities are created and why its so important, I explain in detail in this video.

▬▬▬▬▬▬ T I M E S T A M P S
0:00 - Intro
0:07 - What is StatefulSet? Difference of stateless and stateful applications
1:57 - Deployment of stateful and stateless applications
3:42 - Deployment vs StatefulSet
5:40 - Pod Identity
6:14 - Scaling database applications: Master and Slave Pods
10:15 - Pod state
11:40 - Pod Identifier
13:17 - 2 Pod endpoints
14:27 - Final note - replicating stateful apps
15:26 - What we covered and what to learn next

-------------------------------------------------------------------------------------------------------

For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes or another technology.

#kubernetes #kubernetestutorial #devops #techworldwithnana
-------------------------------------------------------------------------------------------------------

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.
Рекомендации по теме
Комментарии
Автор

Stumbled on to this channel today, never found any better. Thanks a lot creator.

karthikmohan
Автор

Such an awesome explanation. I, being a devops engineer myself found this very useful. Thanks for a lot of hardwork that you're doing behind these videos to present to audience like me.

saikrishnavits
Автор

Jeez, as part of a dev team who’s currently struggling with devops issues cause our affiliate company that’s supposed to host our apps are completely useless and unresponsive of our requests, your vids really make my life better ! Thanks !

r.c
Автор

Thank you so much Nana, you're videos are excellent ! All your series on Kubernetes are like this ! You succeed to explain main concepts in a easy way and it's not so easy to do ! 👏👏👏

stephanelenglet
Автор

This whole series covering docker and kubernetes is excellent, precise and easy to understand. Congratulations and thanks for your efforts. You have great teaching abilities. I specifically liked videos that cover practical aspects - for example, application deployment using k8s and docker-compose etc. Keep up your excellent work.

rahulek
Автор

Perfectly explained high level concepts . Can completely now relate to all the connected components and able to visualise entire structure .

ramm
Автор

Congratulations for you job Nana!
I've been learning about Kubernetes since few months ago and your channel is one of the best about this topic!
I wish you continue growing and creating very good contents to youtube!

acassioqueirozz
Автор

Just started with one video and can't stop till I watch all of them, crystal clear. Looking forward to many more, Thanks!

rsivakanth
Автор

Totally impressed with the delivery of concept!!! Thank you!!

amanuelyohannes
Автор

Exaclty what I was looking for - very simple and precise explanation.Thanks alot.

shaileshchaskar
Автор

So easily explained and with great clarity. You are a GEM 💎and a great inspiration. The animations are something that makes you very different and special. Thanks a lot Mrs.Nana for taking the pain to put those efforts in. Highly appreciated.👏👏👏👌👌👌

anilkommalapati
Автор

Simply magistrally explained and with outstanding infography. Thank you very much indeed. Cannot wait to watch the rest of the series. Subscribed!

cascossi
Автор

Thank you very much, finally able to understand what I was looking for..

MrVineet
Автор

I wish i could have seen this vidios 1 year before. To explain complex thing in a simple way you don't have to Genius . Fantatic and Superb effort.

jhonsen
Автор

Wow. So much work and detailing in explaining things. Thanks for this. Very helpful.

YTFGFH
Автор

Very very neat and simplified explanation! Awesome contents, Nana!

venkateshnaicker
Автор

Thanks for such simple explanation. Great job Nana...

amitpawar
Автор

Watched All Of Urs Videos.Great Explanation. HatsOff.

devanshumishra
Автор

Hi Nana, I started to follow your videos from 2dys back, all them are crystal clear to understand. Am preparing for an interview now so need detailed video about pod security policy.
Cheers !!

ramkumar-krpl
Автор

Thank you very much! You are an excellent teacher!

diogofiaminghi