Search⌘ K

API Analogy

Understand the Kubernetes API by comparing it to an online shopping experience. Learn how resources like pods and services are managed, created, and tracked through the API server using tools like kubectl. This analogy helps clarify resource properties, CRUD operations, and API extensibility to build a practical foundation in Kubernetes concept management.

We'll cover the following...

Introduction to API analogy

Let's consider a quick analogy that will help us conceptualize the Kubernetes API.

Amazon sells lots of stuff:

  1. That stuff is stored in warehouses and exposed online on the Amazon website.

  2. We use tools like browsers and apps to search the website and buy stuff.

  3. Third parties sell their own stuff through Amazon, and we use the same browser and website.

  4. When we buy stuff through the website, it gets delivered to us, and we can start using it.

  5. The Amazon website ...