{"repo":"coryodaniel/bonny","free":true,"listed":false,"github":"https://github.com/coryodaniel/bonny","clone":"git clone https://github.com/coryodaniel/bonny.git","description":"The Elixir based Kubernetes Development Framework","language":"Elixir","stars":437,"topics":["kubernetes","kubernetes-operator","elixir","k8s","erlang","kubernetes-api","kubernetes-controller","kubernetes-scheduler"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Bonny: Kubernetes Development Framework Extend the Kubernetes API with Elixir. Bonny make it easy to create Kubernetes Operators, Controllers, and Custom Schedulers. If Kubernetes CRDs and controllers are new to you, read up on the terminology. Getting Started Kickstarting your first controller with bonny is very straight-forward. Bonny comes with some handy mix tasks to help you. Now add bonny to your dependencies in mix.exs Install dependencies and initialize bonny. This task will ask you to answer a few questions about your operator. Refer to the kubernetes docs for API group and API version. Don't forget to add the generated operator module to your application supervisor. Configuration mix bonny.init creates a configuration file config/bonny.exs and imports it to config/config.exs for you. Configuring Bonny Configuring bonny is necessary for the manifest generation through mix bonny.gen.manifest . Running outside of a cluster Running an operator outside of Kubernetes is not recommended for production use, but can be very useful when testing. To start your operator and connect it to an existing cluster, one must first: 1. Have configured your operator. The above example is a good place to start. 2. Have some way of connecting to your cluster. The most common is to connect using your kubeconfig as in the example: If you've used mix bonny.init to generate your config, it created a YourOperator.Conn module for you. You can edit that instead. 3. If RBAC is enabled, you must ha","default_branch":null,"files":null,"tree":[],"storefront":"/r/coryodaniel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/coryodaniel/bonny/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}