commit | b390d715897e29064102257f4837959e694f9bf9 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jun 21 21:47:59 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Jun 26 09:32:41 2023 +0000 |
tree | 4d705eb9b84b87f3be6c3da31d24bf959da1f768 | |
parent | 3546615448c39dff683bb1723344ed283b279d46 [diff] |
m/n/c/curator: clean up stale leader election after reboot This is useful if we reboot a leader and it comes back while its' old stale leader election key/value is present. Without this, other nodes would continue to connect to the newly rebooted leader even though it is not a leader anymore, confusing themselves and cluster operators in the process. Change-Id: I306e7040550084ef39ab20c3c289a3137145a2d9 Reviewed-on: https://review.monogon.dev/c/monogon/+/1845 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 //...