commit | 6fdca3f2e8b60f53f69c8cd39a02109cc47059ac | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Mon Mar 20 17:47:07 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 22 11:33:51 2023 +0000 |
tree | f875b3e103037078ece4842fcdd77cbb87d7a6cf | |
parent | f71fe9278055d5a892448554aa7c59862256db7d [diff] |
m/n/kubernetes: start splitting, run apiproxy This begins the process to split the Kubernetes service into a controller and a worker service. First, we rename the existing service to a Controller, create a Worker service, and make the Worker service run our new tinylb-based apiserver loadbalancer. We also make the roleserver aware of this change by making it spawn both the controller and worker services according to roles. We will move services to the Worker in follow up change requests. Change-Id: I76e98baa0603ad5df30b5892dd69154b895b35fa Reviewed-on: https://review.monogon.dev/c/monogon/+/1374 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 //...