commit | b565cc679cd5af598dc863890a3e1cce98eb1c57 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Thu Mar 30 18:43:51 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 06 14:19:17 2023 +0000 |
tree | eddf2b4b5636b0c5086cf8fb874927cdc73659c1 | |
parent | 9104e381ab7a2c90087843de00204eed9ed7cf99 [diff] |
m/n/core/clusternet: grab external IP address prefix from network service This moves the logic for merging the node IP and node prefixes from the submitter of the prefixes into the clusternet logic itself. This means clusternet now has two independent sources of prefix data: the network service's external IP address, and the kubelet's node prefixes. This simplifies use in a worker/controller split, where a controller node normally doesn't submit any prefixes as it's not running a kubelet or kubelet-adjacent prefixes - but we still want it to submit its external IP address. Change-Id: I46c9430228ce966426d3a8d33a765ecfdfca0d29 Reviewed-on: https://review.monogon.dev/c/monogon/+/1479 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 //...