sfunkhouser / load-balancer-operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

loadbalanceroperator

Note: loadbalanceroperator is currently under active (and early) development and is likely to change quite frequently.

Purpose

The purpose of the load-balancer-operator is to manage the load balancer lifecycle based upon requests that are sent to the Load Balancer API. By subscribing to the various events that are created by the API, the operator can then take the appropriate CUD action on a load balancer and ensure that is deployed to a specified Kubernetes cluster.

Workflow

flowchart LR
    A[LoadBalancer API] -->| Creates Message | B(Message Broker)
    B --> | Is Read By | C(LoadBalancer Operator)
    C <--> | LB Lookup From | A
    C --> | Message Is | D{Create + Is LB}
    C --> | Message Is | E{Update + Is Any}
    C --> | Message Is | F{Delete + Is LB}
    D --> | Deploys LB To | G
    E --> | Updates LB In |G
    F --> | Deletes LB From |G
    G[Kube Cluster]
Loading

Development

We recommend using the supported devcontainer provided in this repository, other local setups are not supported (and your milage may vary). It is already configured with all of the appropriate toolings. The provided development environment will spin up the additional tooling you required including:

  • nats configured with necessary queues
  • preconfigured required environment variables
  • necessary haproxy chart
  • kind kubernetes cluster

About

License:Other


Languages

Language:Go 93.9%Language:Smarty 2.9%Language:Dockerfile 2.2%Language:Shell 0.9%