navikt / statusplattform-nais-operator

0 stars 0 forks source link

Statusplattform NAIS (K8s) Operator

This application is a webserver which leverages the Rust ecosystem's kube-rs to act as a K8s operator inside the NAIS clusters. At time of writing, it:

  1. It reactively receives events on EndpointSlices by the K8s API
  2. Ignores all events on EndpointSlice(s) we can't map to a Service owned by a NAIS Application
  3. It checks if both (a) it contains pod IPs and (b) a minimum of 1x of them show 'Ready' readiness status
  4. Send HTTP request w/NAIS app's readiness status to the statusplattform backend

Development enviroment

Mandatory:

  1. Rust

Optional (w/benefits):

  1. Nix (flaked)