monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
377 stars 9 forks source link

metropolis: Add labels to nodes #281

Open fionera opened 10 months ago

fionera commented 10 months ago

We do want a way of adding labels to nodes. These should also be published to k8s.

q3k commented 10 months ago

First napkin math design:

  1. Store node metadata somewhere in etcd
  2. Allow mutating said metadata via Management RPCs
  3. Allow prepopulating said metadata via Node startup parameters
  4. Reconcile from node metadata to Kubernetes node annotations in the Curator (or let nodes update this data themselves?)
lorenz commented 1 month ago

We have node labels on the Metropolis side of things, but do not synchronize them into K8s yet.