GKGulshan Kumar
HomeBlogKubernetes Simulation from Scratch: Lear
Kubernetes4 min read

Kubernetes Simulation from Scratch: Learn Kubernetes Internals

GK
Gulshan Kumar
1 April 2026

Stop just using Kubernetes. Start understanding it. 🏗️


Over the past few days, I built a production-style Kubernetes simulation from scratch, and it’s now live on GitHub. 🚀


Most tutorials show how to run a simple `kubectl apply`, but they rarely explain the “why” behind Kubernetes architecture. This project focuses on understanding how things actually work under the hood by building a full environment that mirrors a real-world bare-metal Kubernetes setup.


What’s inside the project?


  • Microservices – Node.js APIs for User & Product management
  • Stateful Workloads – MongoDB deployed using StatefulSets with persistent storage
  • Full Observability – ELK Stack (Elasticsearch, Logstash, Kibana) with Filebeat for centralized logging
  • Advanced Networking – NGINX Ingress Controller & MetalLB for real-world load balancing
  • Security – Zero-Trust model using NetworkPolicies & RBAC

  • Cloud → Kubernetes Terminology Mapping


    If you're coming from AWS or GCP, this repo also includes a Cloud-to-K8s translation guide:


    Cloud ServiceKubernetes Equivalent ECS TaskPod Application Load BalancerIngress Target GroupService VPCNamespace

    The goal was to bridge the gap between cloud services and Kubernetes internals and create something that engineers can actually learn from.


    If you're learning Kubernetes or want a hands-on environment to explore real concepts, feel free to check it out!


    🔗 GitHub Repository: [https://lnkd.in/grhN72dT](https://lnkd.in/grhN72dT)

    ← Back to Blog✉️ Discuss this post