Kubernetes StatefulSet simply explained | Deployment vs StatefulSet
TechWorld with Nana
@techworldwithnanaAbout
Helping millions of engineers to advance their careers with DevOps & Cloud education 💙 I create new videos every month, topics include mainly DevOps and Cloud tutorials. Subscribe and activate bell notification so you don't miss new videos :) I'm a Docker Captain, AWS Container Hero 🤓 💪 ► https://www.techworld-with-nana.com/ Some topics covered: - Docker - Kubernetes - CI/CD - GitLab CI, GitHub Actions, Jenkins - Python - Ansible - Prometheus Monitoring - Terraform - YAML - & more! Have fun watching my videos! 🙂
Latest Posts
Video Description
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.
Craft Essentials You Can't Resist
AI-recommended products based on this video
![Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks](https://m.media-amazon.com/images/I/618FQ2N2uZL._AC_UL960_FMwebp_QL65_.jpg)
Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks

Paint Sprayer Electric Spray Gun: 700W Spray Paint Gun with 1200ml Container, 4 Nozzles & 3 Patterns, Adjustable Air Flow, Easy Cleaning for House Painting, Furniture, Fence, Walls, Door (Royal Blue)

Art Kit, 272 Pack Art Set Drawing Kit for Kids Girls Boys, Deluxe Gift Art Supplies with Trifold Easel, Origami Paper, Coloring Pad, Sketch Pad, Pastels, Crayons, Pencils, Watercolors (Pink)

Cottonelle Cottonelle Toilet Paper, 12 Mega Rolls = 48 Regular Rolls, Ultra Clean, Strong Bathroom Tissue, 284 Sheets per Roll, Packaging May Vary

LEGO Icons Williams Racing FW14B & Nigel Mansell F1 Model Car Kit - Building Set for Adults, Ages 18+ - F1 DIY Craft for Display - Gift Idea for Fans of F1-10353

LEGO Icons Leonardo da Vinci's Flying Machine DIY Kit - Ornithopter Building Set for Adults, Ages 18+ - Craft for Home or Office Decor with Display Stand - Gift Idea - 10363

DIY Wall Collage Kit for Teen & Tween Girls - Perfect Craft Gift Ideas for 10, 11, 12,13, 14, 15 Year Old Girl - Trendy Birthday Gifts and Stuff for Teenage Bedroom - Fun Teens Crafts Kits Age 8+

Paper Cats Origami Kit, 50pcs DIY 3D Origami Animal Kit for Create Adorable Paper Cats, Creative Craft Activity for Cat Lovers, Fun Home Desk Decor, Christmas Birthday Gift(Cat)

Gifts 5-12 Years Old Girls, Bracelet Making Kit, Unicorn Toys, Gifts for Teen Girls, Beads for Making Jewellery, Crafts for Kids 6-8, Arts and Crafts for Kids Age 4 5 6 7 8 9 10 11

Hbnlai 5300 Pcs Clay Beads Bracelet Making Kit, Flat Preppy Beads for Friendship Jewelry Making, Polymer Heishi with Charms Gifts for Teen Girls Crafts for Girls Ages 8-12

Windshield Repair kit, Quick and Efficiency Glass Repair Fluid, Car Windshield Crack Repair Resin Kit for Fixing Chips, Bulls-Eye, Cracks and Star-Shape Cack-2 Pack




















