

GitHub - IBM/operator-sample-go: Kubernetes Operator Samples using Go, the Opera...
source link: https://github.com/IBM/operator-sample-go
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Kubernetes Operator Patterns and Best Practises
This project contains Kubernetes operator samples that demonstrate best practices how to develop operators with Golang, Operator SDK including Kubebuilder and the Operator Lifecycle Manager Framework.
Getting started
The repo contains two operators:
- Application operator: Deploys and manages a simple microservice application.
- Database operator: Deploys and manages a simple database. Used by the application.
IMPORTANT: The easiest way to get started is to run the application operator locally which uses prebuilt images of the database controller, the microservice and all other required components. Follow the getting started instructions.
Additionally the repo contains four more components:
- Simple micorservice managed by the application operator
- Database service managed by the database operator
- Database controller extension to automatically backups of data
- Application controller extension to automatically scale up the microservice
Run the application operator:
Run the database operator:
Documentation
Overview and Scenarios
Basic Capabilities
Advanced Capabilities
Development and Deployment
Golang
To start developing operators, we recommend to get familiar with the Kubernetes Operator Metamodel first.
Resources
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK