© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. MartinKubernetes Programming with Gohttps://doi.org/10.1007/978-1-4842-9026-2_10

10. Writing Operators withthe Controller-Runtime Library

Philippe Martin1  
(1)
Blanquefort, France
 

As you have seen in Chapter 1, the Controller Manager is an important piece of the Kubernetes architecture. It embeds several Controllers and the role of each is to watch for instances of a specific high-level resource (Deployments, etc.) and use low-level resources (Pods, etc.) to implement these high-level instances.

As an example, Kubernetes users can create a Deployment when they want to deploy a stateless application. This deployment defines a Pod Template that is used to ...

Get Kubernetes Programming with Go: Programming Kubernetes Clients and Operators Using Go and the Kubernetes API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.