The API

Learn about the structure and organization of the Kubernetes API, and their role in managing Kubernetes resources.

We'll cover the following...

The API is where all Kubernetes resources are defined. It’s large, modular, and RESTful.

When Kubernetes was originally created, the API was monolithic, and all resources existed in a single global namespace. However, as Kubernetes grew, we split the API into smaller, more manageable groups.

The following figure shows a simplified view of the API with resources divided into groups.

Press + to interact
Simplified view of Kubernetes API
Simplified view of Kubernetes API

The image shows the API with four groups. There are more than four, but the picture only shows four for simplicity.

There are two types of API groups:

  • The ...