commit | 2cfafc9a4c34152dd93b58aa82df1720fb4dd6d6 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Tue Mar 21 16:42:47 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 13 14:03:02 2023 +0000 |
tree | 7a944999ab576f4b421651c2c4d513b0b572a1be | |
parent | d0be371ea905c3729f98d91d255d775b7c5193d3 [diff] |
metropolis/node/kubernetes: move worker services to KubernetesWorker nodes This finalizes the Big Split. After this change, nodes will only run a kubelet (and related services) if they have a KubernetesWorker role attached. The first node in a new cluster now starts out with KubernetesController and ConsensusMember. All joined nodes start with no roles attached. Change-Id: I25a059318450b7d2dd3c19f3653fc15367867693 Reviewed-on: https://review.monogon.dev/c/monogon/+/1380 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@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 -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 //...