Loading video player...
Want to understand Kubernetes Namespaces the easy way? π In this video, we cover both theory and hands-on demo to help you learn what namespaces are, why they matter, and how to use them in real clusters. Youβll see how to organise resources, avoid conflicts, and manage dev, test, and prod environments step by step. βοΈ What are Kubernetes Namespaces (simple analogy) βοΈ Why we need Namespaces (organisation, isolation, collaboration) βοΈ Default Namespaces in Kubernetes (default, kube-system, kube-public, kube-node-lease) βοΈ Cluster-scoped vs Namespaced resources βοΈ Create & view namespaces using kubectl βοΈ Assign namespaces in YAML files βοΈ Switch between namespaces & manage them easily βοΈ Real-world use cases + best practices π₯ Whether youβre a beginner or an aspiring DevOps engineer, this guide provides clear explanations and practical kubectl examples to help you master namespaces. π Subscribe for more Kubernetes tutorials & drop your thoughts in the comments! π₯οΈ *Commands Used in This Video* kubectl get namespaces kubectl create namespace demo-team kubectl get pods -n demo-team kubectl apply -f pod.yaml -n demo-team kubectl config set-context --current --namespace=dev-team kubectl describe namespace demo-team kubectl delete namespace qa-team π₯ Master Kubernetes storage in minutes and take your DevOps skills to the next level! π Subscribe for more tutorials and leave your thoughts in the comments below. π *Continue Learning with These Playlists* : π§ *Linux for Beginners* (Start from scratch): π [Watch the Playlist](https://www.youtube.com/playlist?list=PL4y5PiOmBnA84TiMlXFWflKYYhatkjQlV) π» *Linux Command Line Tutorials* (Terminal-focused skills): π [Explore Commands](https://www.youtube.com/playlist?list=PL4y5PiOmBnA83IhbSvF2t1yJVG4qVd-yO) π *Kubernetes Series for Admins and Devs* : π [Start Learning Kubernetes](https://www.youtube.com/playlist?list=PL4y5PiOmBnA9KrxpnrBzgvSpdEqD6LmtI) --- π *Subscribe for more tutorials* : π [@TechOpsTutorials](https://www.youtube.com/@TechOpsTutorials?sub_confirmation=1) π Chapters 0:00 π¬ Introduction to Kubernetes Namespaces 0:36 π Analogy: Namespaces as Apartment Buildings 1:50 π― Why We Need Namespaces 3:24 π¦ Default Namespaces in Kubernetes 4:51 πΊοΈ How Namespaces Work 6:04 π Namespace-Scoped vs. Cluster-Scoped Resources 7:38 β¨οΈ Using kubectl Commands with Namespaces 8:55 π Assigning a Namespace to a Resource 10:32 π Switching Namespace Contexts 12:11 π§Ή Managing and Deleting Namespaces 13:18 π‘ Practical Use Cases for Namespaces 14:50 π’ Real-World Application (TechOps Inc.) 16:13 β Best Practices 17:46 β‘οΈ Summary and Recap 19:39 π» Live Demo: Hands-on with Namespaces 20:41 π Demo Setup: Starting Minikube 21:11 π Demo: Viewing Default Namespaces 21:43 β¨ Demo: Creating a New Namespace 22:34 π Demo: Creating a Pod Imperatively 23:57 π Demo: Creating a Pod with a YAML File 26:02 π― Demo: Setting a Default Namespace Context 27:18 π Demo: Viewing Cluster-Scoped Resources 28:04 ποΈ Demo: Deleting a Namespace 28:46 π Quiz Answers and Recap 30:56 π Outro #Kubernetes #DevOps #Namespaces