commit | eb2520f048df92de2e48ff69d4b9a5431f0372d1 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Sun Nov 19 07:04:15 2023 +0100 |
committer | Lorenz Brun <lorenz@monogon.tech> | Mon Nov 20 22:13:16 2023 +0000 |
tree | de8e9cb052cad3a6b8993f6814974b94abb4c0fb | |
parent | 4b42c8a429b1d061faa9823c1ac26adaac3dc012 [diff] |
m/n/c/metrics: add node name to discovery labels This allows for identifying the node directly without taking a detour via its IP address. Change-Id: Ia36ba52385292264a42f451ce2c63e9a6c76fdb6 Reviewed-on: https://review.monogon.dev/c/monogon/+/2336 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
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!
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.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch --config dbg
Launch an ephemeral test node:
bazel test //:launch --config dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test --config dbg //...