Loading video player...
apiVersion: apps/v1 kind: Deployment metadata: name: test-deployment spec: replicas: 2 selector: matchLabels: app: dev-deployment template: metadata: labels: app: dev-deployment spec: containers: - name: ubuntu-container image: ubuntu:22.04 command: - /bin/bash - -c - | echo "first dev deployment"; while true do echo "Pod is running..."; sleep 10; done kubectl apply -f deployment.yaml kubectl get deploy kubectl get rs kubectl get pods kubectl rollout status deploy kubectl rollout history deploy kubectl rollout undo deploy In this video, we deep dive into Kubernetes Deployments and Controllers from scratch, in a very clear, connected, and practical way. However, instead of shortcuts, this session builds concepts step by step, since Kubernetes works on desired state vs actual state. This is where many learners get confused ā so we simplify it pretty much from the ground up. š¹ What you will learn in this video: ⢠What is a Kubernetes Controller (definition explained clearly) ⢠Why Pods are temporary in nature ⢠Why we need Replication Controllers and ReplicaSets ⢠Difference between ReplicationController vs ReplicaSet ⢠Complete Deployment workflow š Deployment creates ReplicaSet š ReplicaSet creates Pods ⢠What is self-healing in Kubernetes ⢠What is scaling and how replicas work ⢠Desired state vs actual state explained visually ⢠Rolling Update using Pod template image change ⢠Rollback to the previous stable version ⢠Stateful vs Stateless applications with proper examples ⢠Live demo using kubectl commands ⢠Full YAML explanation line by line Basically, this video is designed for: ⢠Freshers ⢠Working professionals ⢠DevOps engineers ⢠Anyone keen on understanding Kubernetes the right way Despite of the complexity of Kubernetes, this session connects everything logically, the same way you would explain in technical huddles or real project discussions. Ofcourse, we also do a live demo, where we: ⢠Apply Deployment YAML ⢠Verify ReplicaSets and Pods ⢠Perform rolling updates ⢠Rollback safely ⢠Observe how Kubernetes continuously compares desired and actual state and takes action automatically That is where Kubernetes truly shines. #Kubernetes #KubernetesDeployment #ReplicaSet #KubernetesControllers #DevOps #KubernetesTutorial #KubernetesForFreshers #RollingUpdate #Rollback #CloudNative #Kubectl #DevOpsEngineering