commit | c64ba1ec847af9314790d8f13ff9ead06a9be45c | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 15 19:15:13 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 22 11:33:51 2023 +0000 |
tree | d5e0fbb008fe2ac950241ff53770aeee4e7b3df8 | |
parent | e013f1b87807b7c0eb7440cec41e568ef288b499 [diff] |
go/net/tinylb: init This implements tinylb, a tiny round-robin load balancer for net.Conn/net.Listener protocols. This will be used to loadbalance connections to Kubernetes apiservers before cluster networking is available. Change-Id: I48892e1fe03e0648df60c674e7394ca69b32932d Reviewed-on: https://review.monogon.dev/c/monogon/+/1369 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 //...