SDK for building Kubernetes operators in Go, Ansible or Helm
open sourceApache-2.0self-hostablefree
Operator SDK builds Kubernetes operators: controllers that run an application's operational knowledge (scaling, upgrades, backups) against the Kubernetes API. Its CLI scaffolds a project, generates Custom Resource Definitions and deployment manifests, and lets you write the reconcile logic in Go with controller-runtime, in Ansible playbooks and roles, or as a Helm chart. For Go it uses Kubebuilder underneath, so kubebuilder projects work with it, and adds integration with Operator Lifecycle Manager, OperatorHub publishing and the scorecard tool for best-practice and cluster tests. It's part of the Operator Framework, a CNCF incubating project.
Ways to install
Package managers
Problems it solves
- build a Kubernetes operator that automates upgrades and backups for my app
- turn my Helm chart into a Kubernetes operator without writing Go
- write a Kubernetes operator in Ansible
- scaffold a custom resource and controller for Kubernetes
- package an operator for OperatorHub and Operator Lifecycle Manager
Features
- CLI scaffolding and code generation for operator projects
- operators in Go (controller-runtime), Ansible or Helm
- generates CRDs and deployment manifests
- Operator Lifecycle Manager and OperatorHub integration
- scorecard for best-practice checks and cluster tests
- compatible with Kubebuilder projects
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Operator SDK does.
- Kubebuilder SDK for building Kubernetes APIs using CRDs
