Below is the clean and correct command sequence for practicing Kubernetes Deployment, Scaling, Rolling Update, Rollout History, and Rollback. 1. Create a Deployment YAML file Use this YAML: Save and exit: 2. Create the Deployment Check the Deployment: Watch the Deployment: Press: to stop watching. 3. Check all resources Check Pods: Check ReplicaSets: 4. Learn kubectl create deployment Display help: Create another Deployment: Check all Deployments: Check only app1: 5.

Read More

Google Kubernetes Engine (GKE) provides a managed Kubernetes environment on Google Cloud. In this hands-on class, I created a GKE Standard cluster, explored its nodes and underlying Compute Engine VMs, deployed an NGINX Pod, created a ReplicationController, tested self-healing, and finally simulated node removal. This practical exercise helped me understand an important Kubernetes principle: Kubernetes continuously works to maintain the desired state of our applications. 1. What is a Kubernetes

Read More

In this blog, I will demonstrate: What is ReplicationController? A ReplicationController (RC) ensures that a specified number of Pod replicas are always running. If a Pod crashes or is deleted accidentally, Kubernetes automatically creates another Pod. Responsibilities Lab-1: Create a Single Pod Create an nginx Pod. Output Check the Pod. Output Delete the Pod Output Check again. Output Notice that Kubernetes does not recreate the Pod because it is an

Read More

Kubernetes (often abbreviated as K8s) is an open-source container orchestration system for automating the deployment, scaling, and management of containerized applications. šŸ”¹ Key Points about Kubernetes: šŸ”¹ Why is Kubernetes important? āœ… In simple words:Kubernetes is like a traffic controller and caretaker for containers. It makes sure your applications always run smoothly, scale when needed, and recover automatically if something goes wrong. šŸ”¹ Main Components of Kubernetes Architecture 1. Master

Read More