Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.
/ bella Public archive

Kubernetes contoller library to make it easier to interact with clusters.

License

Notifications You must be signed in to change notification settings

batteries-included/bella

Repository files navigation

Bella: Kubernetes Controller Framework

Bella make it easy to create Kubernetes GenServers to watch cluster state.

Installation

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

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

Telemetry

Bella uses the telemetry library to emit event metrics.

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

Testing

mix test

About

Kubernetes contoller library to make it easier to interact with clusters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published