commit | 2f7e0a281e72ae45fff6c4d79934442367475b81 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Jun 22 16:56:13 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Thu Jun 22 16:36:33 2023 +0000 |
tree | 4dcd2233a274bef4645c4bfbbbd62f072d11481a | |
parent | c49b207a66a994ccda382d685022d08cbd9ee582 [diff] |
m/node: enlarge K8s networks For bigger clusters, the current 10.0.0.0/16 subnet is far too small. Switch to 10.192.0.0/11 which should be out of the way of most of our test infra and is large enough for 8192 nodes with 253 pods which is big enough for the time being. Also migrate the service network to 10.224.0.0/16 and make it much bigger. It does not need to be in the pod CIDR, so move it out of there. But for large clusters this will continue to be a problem until we have a better allocation algorithm or switch to IPv6 with 464xlat (which is not supported on Linux currently however). Change-Id: Ib3a019fffacec2172721f04c01133b44bffba73b Reviewed-on: https://review.monogon.dev/c/monogon/+/1848 Reviewed-by: Leopold Schabel <leo@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 //...