Extending Kubernetes, topic 58 of 61
The Kubernetes API
Every object lives at a REST path made of its API group, version and resource, such as apps/v1 deployments. Versions move from alpha to beta to stable, and old ones are removed, which is why manifests must be updated before an upgrade.
Clients can watch a resource and be told of each change. Controllers are built on this: they watch, compare and act. kubectl api-resources and kubectl get --raw let you explore the API directly.
On Opsfolk
- Kubernetes API Server Explained: The Life of a RequestArticle, 28 min read
- Kubernetes Internals: How a Cluster Really WorksSeries, 9 parts
Elsewhere
- The Kubernetes APIOfficial