| commit | 1f789540bbe4bf94c4ccae795272703577ca586e | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Wed May 22 14:01:50 2024 +0200 |
| committer | Serge Bazanski <serge@monogon.tech> | Wed Jun 12 10:00:40 2024 +0000 |
| tree | 2ecd2308e42e5f25e898f6901cd7562c3adad18a | |
| parent | 2b6dc312656035aedade6f368af1994bdb8b6021 [diff] |
m/{node,proto}: implement Node Labels
Nodes can now have Labels attached to them. These are string key/value
data designed after Kubernetes labels. They are meant to be used to
attach metadata to nodes, for example external IDs, nicknames or
geographical information.
This change implements just the core functionality: storing them within
etcd, retrieving them via management and curator APIs, and mutating them
via a new management RPC.
Followup changes will impelement provisioning labels at
bootstrap/registration time and accessing label data from metroctl.
Change-Id: I556b452a65061294e7c51037723a6db31d587716
Reviewed-on: https://review.monogon.dev/c/monogon/+/3101
Reviewed-by: Jan Schär <jan@monogon.tech>
Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix: #monogon-os-community:matrix.org.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.