DEVOPS • KUBERNETES

I installed Kubernetes, now I need Kubernetes
to manage my stress!

by Chandan Hegde
 

"Life was good, then I installed Kubernetes!"

On a fine day, I decided to give Kubernetes a try. Having familiarity with Docker and containerization, I thought it would be something similar — maybe just a little extra. I was WRONG!

Initially, I thought, "once you understand it, it will be easy." After a few hours into installation, I had to Google:

"Why does Kubernetes hate me personally?"

The Confidence Before the Storm

Inspired by our System Administrator Mr. Akshay R, who enjoys exploring new technologies, I decided to give Kubernetes a shot. I thought, "What is there to worry about?"

After all, Kubernetes is just:

Containers
Networking
Storage
Security
Scheduling
Scaling
YAML
And More...

I was WRONG again!

YAML

Yet Another Mental Load!

YAML looks friendly.
YAML lies!

  • Your Pod exists
  • But doesn't run
  • But isn't failing
  • But also isn't alive
  • kubectl says "Everything is fine"
Kubernetes doesn't throw errors. It philosophically disagrees with your configuration.

Pods & Nodes

At some point, you begin asking:

  • Why is my Pod pending?
  • Why won't my Service talk?
  • What exactly is a node?
  • Am I the node?
Kubernetes responds with logs, events and more mysteries.

Auto Scaling

Kubernetes promises:

Self-healing • Auto-scaling • Resilience

What it delivers:

  • 17 replicas you didn't ask for
  • CPU spikes from monitoring
  • One app, a million things to manage

So, What's the Solution?

After a while, working with this Satan, you'll understand one thing:

You stop fighting Kubernetes.
You stop questioning Kubernetes.
You start accepting Kubernetes.

(Something like a marriage! If you know what I mean ????)

You begin saying things like:
  • "That's expected behaviour"
  • "It's working as designed"
  • "Let's just restart the cluster"

Congratulations.
You are now Kubernetes-ready.

 

— Chandan Hegde