DEV Community

Azmat Ahmed
Azmat Ahmed

Posted on

# πŸš€ DevOps Journey β€” Week 14: **Kubernetes Scaling & Automation**

In my DevOps Journey Week 14, I moved from Docker & Compose into the world of Kubernetes.

This was a huge milestone: learning how to handle scaling, automation, and thousands of users without downtime.


πŸ”Ή Step 1: Docker Networking

Before K8s, I explored Docker networking:

  • Bridge β†’ local isolated communication
  • Host β†’ container shares host’s network
  • Overlay β†’ multi-host (Swarm, cluster setups)

πŸ”Ή Step 2: Docker Compose

Next, I practiced multi-service apps:


yaml
version: "3.9"
services:
  web:
    image: nginx
  db:
    image: mysql:5.7
With a single command:

bash
Copy code
docker-compose up -d
This was enough for small dev projects.

πŸ”Ή Step 3: Kubernetes β€” the Game Changer
Here’s where Week 14 really leveled up.
Kubernetes gave me:

Scaling β†’ add more pods instantly.

Self-healing β†’ crashed pods restart automatically.

Rolling updates β†’ zero downtime deploys.

Load balancing β†’ spread traffic across pods.

Commands I used:
bash
Copy code
kubectl create deployment web --image=nginx
kubectl expose deployment web --type=NodePort --port=80
kubectl scale deployment web --replicas=5
kubectl get pods
πŸ”₯ Reflection
Docker was my foundation.

Docker Compose gave me small multi-service apps.

But Kubernetes unlocked production-level orchestration.

This week felt like moving from β€œdeveloper” β†’ β€œDevOps engineer.”

#devops #docker #kubernetes #devto #devopsjourney
Enter fullscreen mode Exit fullscreen mode

Top comments (0)