commit | 186109c55db3121749311fc2e954be0eaccdf249 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jun 21 16:57:36 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Jun 21 21:52:37 2023 +0000 |
tree | d65cd1416c480bf517bede017f5688ad4352e0ab | |
parent | d2fc01fb49e7f1decb534a9ae8da7ba8814406d9 [diff] |
m/n/core/roleserve: persist node roles across reboots This allows us nodes to attempt to bring up some services before they get fully connectivity to the cluster. This is especially useful if a node cannot establish connectivity to the cluster, eg. because it's the only control plane node that just started up. Fixes https://github.com/monogon-dev/monogon/issues/226 Change-Id: I030ccc02851e74ceb8dc043203083aa5b6854b55 Reviewed-on: https://review.monogon.dev/c/monogon/+/1842 Reviewed-by: Lorenz Brun <lorenz@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!
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 -c dbg
Launch an ephemeral test node:
bazel test //:launch -c 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 -c dbg //...