Kubernetes StatefulSet Explained | Deployment vs StatefulSet
Learn what StatefulSet in Kubernetes is, how it works, and its differences from Deployment. Practical insights included. π

TechWorld with Nana
268.5K views β’ Jun 6, 2020

About this video
StatefulSet Kubernetes | Understand what StatefulSet in Kubernetes is and how it works
Using StatefulSet in practice π πΌββοΈ βΊ https://youtu.be/JGtJj_nAA2s
Kubernetes Operator explained (manager for your stateful application π) βΊ https://youtu.be/ha3LjlD6g7g
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
-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial βΊ https://bit.ly/2YGeRp9
DevOps Tools, like Ansible βΊ https://bit.ly/2W9UEq6
Complete K8s Application Setup βΊ https://youtu.be/EQNO_kM96Mo
Kubernetes Components explained βΊ https://www.youtube.com/watch?v=Krpb44XR0bk&t=364s
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 π β¬β¬β¬β¬β¬β¬
Join private Facebook group βΊ https://bit.ly/32UVSZP
Don't forget to subscribe βΊ https://bit.ly/3mO4jxT
DEV βΊ https://bit.ly/3h2fqiO
INSTAGRAM βΊ https://bit.ly/2F3LXYJ
TWITTER βΊ https://bit.ly/3i54PUB
LINKEDIN βΊ https://bit.ly/3hWOLVT
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.
Using StatefulSet in practice π πΌββοΈ βΊ https://youtu.be/JGtJj_nAA2s
Kubernetes Operator explained (manager for your stateful application π) βΊ https://youtu.be/ha3LjlD6g7g
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
-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial βΊ https://bit.ly/2YGeRp9
DevOps Tools, like Ansible βΊ https://bit.ly/2W9UEq6
Complete K8s Application Setup βΊ https://youtu.be/EQNO_kM96Mo
Kubernetes Components explained βΊ https://www.youtube.com/watch?v=Krpb44XR0bk&t=364s
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 π β¬β¬β¬β¬β¬β¬
Join private Facebook group βΊ https://bit.ly/32UVSZP
Don't forget to subscribe βΊ https://bit.ly/3mO4jxT
DEV βΊ https://bit.ly/3h2fqiO
INSTAGRAM βΊ https://bit.ly/2F3LXYJ
TWITTER βΊ https://bit.ly/3i54PUB
LINKEDIN βΊ https://bit.ly/3hWOLVT
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.
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
268.5K
Likes
6.7K
Duration
16:00
Published
Jun 6, 2020
User Reviews
4.7
(53) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now