bonny v0.3.0 Bonny.Controller behaviour
Bonny.Controller
defines controller behaviours and generates boilerplate for generating Kubernetes manifests.
A custom controller is a controller that users can deploy and update on a running cluster, independently of the cluster’s own lifecycle. Custom controllers can work with any kind of resource, but they are especially effective when combined with custom resources. The Operator pattern is one example of such a combination. It allows developers to encode domain knowledge for specific applications into an extension of the Kubernetes API.
Controllers allow for simple add
, modify
, and delete
handling of custom resources in the Kubernetes API.
Link to this section Summary
Link to this section Callbacks
Link to this callback
add(map)
add(map)
add(map()) :: :ok | :error
add(map()) :: :ok | :error
Link to this callback
delete(map)
delete(map)
delete(map()) :: :ok | :error
delete(map()) :: :ok | :error
Link to this callback
modify(map)
modify(map)
modify(map()) :: :ok | :error
modify(map()) :: :ok | :error