Chapter Seven

Extending Kubernetes

Turning Kubernetes into a platform — Custom Resource Definitions, the operator and controller pattern that automates operations, and the other ways to extend the API.

3 topics

The same reconcile loop that manages Pods can manage anything. That is the insight behind extending Kubernetes: teach the API new object kinds and write controllers that drive them to desired state.

This chapter covers Custom Resource Definitions that add your own resources, the operator pattern that packages a controller with the knowledge to run a stateful system, and the other extension points — aggregated API servers, admission and authorization webhooks — that turn the cluster into a platform.

Topics in This Chapter