Kubernetes Programming with Go
Programming Kubernetes Clients and Operators Using Go and the Kubernetes API
- 336 pages
- 12 hours of reading
The book offers a comprehensive guide to the Kubernetes API, starting with its structure and operations. It teaches how to create native resource definitions using Go and provides utilities for handling resource fields and converting formats like YAML and JSON. Readers will learn to interact with the Kubernetes API server using the client-go library, including testing programs and creating kubectl plugins. The latter sections focus on extending the API with Custom Resource Definitions and using the controller-runtime library and kubebuilder framework for writing operators efficiently.