Kubernetes, the core mental model

Este texto está en inglés.

Kubernetes is a CRUD with a loop. Every object below is a resource in an API you create, read, update and delete, and controllers keep looping until what runs matches what you stored.

The core mental model is literally:

  • Pod → a thing that runs
  • Node → where the thing runs
  • Namespace → which room the thing lives in
  • Deployment → keeps the thing running
  • StatefulSet → keeps the thing running with identity
  • Service → how you reach the thing
  • Ingress → how the world reaches the thing
  • ConfigMap/Secret → values you shove into the thing
  • PV/PVC → where the thing writes stuff
  • RBAC → who can touch the thing
  • CNI → how the thing talks to other things