View Source Bella: Kubernetes Controller Framework

Bella make it easy to create Kubernetes Controllers.

installation

Installation

Bella can be installed by adding bella to your list of dependencies in mix.exs:

def deps do
  [
    {:bella, "~> 0.0.4"}
  ]
end

telemetry

Telemetry

Bella uses the telemetry library to emit event metrics.

[
  [:bella, :reconciler, :genserver, :down],
  [:bella, :reconciler, :reconcile, :failed],
  [:bella, :reconciler, :reconcile, :succeeded],
  [:bella, :reconciler, :run, :started],
  [:bella, :reconciler, :fetch, :failed],
  [:bella, :reconciler, :fetch, :succeeded],
  [:bella, :reconciler, :initialized],
  [:bella, :watcher, :genserver, :down],
  [:bella, :watcher, :chunk, :received],
  [:bella, :watcher, :watch, :timedout],
  [:bella, :watcher, :watch, :failed],
  [:bella, :watcher, :watch, :finished],
  [:bella, :watcher, :watch, :succeeded],
  [:bella, :watcher, :watch, :started],
  [:bella, :watcher, :initialized]
]

testing

Testing

mix test