Chapter 10: Case Study for Optional Operators – the Prometheus Operator
The point of this book is to introduce, discuss, and demonstrate the main processes for developing an Operator for Kubernetes using the Operator Framework. To do this, a sample Operator with the basic functionality of managing an nginx deployment was built. This example was intended to serve as a tutorial on Operator development without overwhelming the reader with excessive features or the requirement of significant background knowledge to understand the use case. Hopefully, it has served that purpose well.
But the simplicity of that nginx Operator might make some of the steps in the Operator Framework seem excessive. It's also a big jump to go from learning about an example Operator to understanding the applications of real-world use cases. So, in this chapter, we will examine the Prometheus Operator (https://prometheus-operator.dev/), which is used to manage individual deployments of the Prometheus...