commit | 0300077941db0edfdcac0ae42e4a5dad3e8d3fd7 | [log] [tgz] |
---|---|---|
author | Tim Windelschmidt <tim@monogon.tech> | Mon Jul 03 02:19:28 2023 +0200 |
committer | Tim Windelschmidt <tim@monogon.tech> | Tue Jul 04 18:58:49 2023 +0000 |
tree | 979cfc5f4269d3428b725acd79b9a216db8a6f82 | |
parent | a2ee88d585b9b8603f47544c95f09b380b92b5e2 [diff] |
metropolis/node: allow all ports as NodePorts except special ones As we dont have hostPort implemented we can only provide NodePorts to applications. To allow apps to use all ports we have to increase the range but have to prevent them from using reserved metropolis ones. This is currently prevented by patching the allocator and hardcode all of them. Change-Id: I7c0e8b17643d1ec03e1a1b678bc6276881b1c5e5 Reviewed-on: https://review.monogon.dev/c/monogon/+/1884 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 //...