👑 Premium Sign in Sign up

CSE37 · CI/CD, GitOps & SRE

Kubernetes Pod, Service & Deployment

Run a web app on a mock cluster: scale it, kill a pod and watch Kubernetes bring the desired state back.

📶 L300⏱ 40 min🧪 Live lab

🎯 You will learn to

  • Know pod, deployment and service
  • Scale replicas
  • See self-healing

🧪 Live environment

Runs entirely in your browser: nothing is installed, no real cloud account is used and your code is never sent to our server.

Loading the lab…

✅ Steps & checkpoints

🗺️ Desired state loop

A Deployment asks for 3 replicas; the controller keeps 3 pods running and the Service sends traffic only to ready ones.

Desired state loopA Deployment asks for 3 replicas; the controller keeps 3 pods running and the Service sends traffic only to ready ones.ClusterkubectlapplyDeploymentreplicas 3ReplicaSetcontrollerPod 1Pod 2Pod 3(killed → new)ServicerecreatePerson / clientTool / stepComputeNetwork

The 2D diagram shows the exact flow, ports and trust boundaries. The 3D scene is a concept view of the same parts; packets travel along the same arrows.

🤔 Think about it

Why does a service send traffic only to ready pods?

🛡️ Safety & cost

Pipelines run in a simulator. No repository or cluster is changed.

🧹 Cleanup

Nothing to clean up.

📚 Reference documents

Official sources, checked on 5 Nov 2026. Cloud services change often; check the official page before relying on a feature. All references