Chapter 4: Developing an Operator with the Operator SDK
With a completed design outline for an Operator, it is now possible to begin the actual work of developing it. This means writing and compiling code that can be deployed onto an actual running Kubernetes cluster. For this chapter, the Operator SDK will be used to initialize the scaffolding of a boilerplate Operator project. From there, the technical steps to develop the rest of a basic Operator will be demonstrated as a tutorial. This guide will follow the Operator design already planned in Chapter 3, Designing an Operator – CRD, API, and Target Reconciliation, which focused on developing a Level II Operator to deploy and upgrade a simple Nginx Pod.
As a tutorial, this chapter will follow ...
Get The Kubernetes Operator Framework Book 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.