commit | 8481f7506b4c67de54fa96b5510007dc2c66a348 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Tue Jun 27 00:51:28 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Tue Jun 27 10:07:32 2023 +0000 |
tree | 591d0e285c1d36aeb813b75c0f8d76e62b688a2d | |
parent | a380d67c4f648aaf576adba0ea22d40d3782bf44 [diff] |
m/n/c/network: fix SNAT The previous change to this broke clusternet as it tried to masquerade traffic destined to that interface, but that is an unnumbered interface, causing the masquerade to fail and all inter-node traffic to be rejected. Fix this by including the clusternet interface in the list of interfaces not to NAT for. Change-Id: I4a79a1978b1aa449fca1dd2d0a2b0a5decc63ea8 Reviewed-on: https://review.monogon.dev/c/monogon/+/1857 Reviewed-by: Tim Windelschmidt <tim@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 //...