commit | 3ccf69641de62c68a5740d8194d4f0776052dd63 | [log] [tgz] |
---|---|---|
author | Mateusz Zalega <mateusz@monogon.tech> | Mon Jan 23 17:01:40 2023 +0000 |
committer | Mateusz Zalega <mateusz@monogon.tech> | Thu Feb 09 12:00:00 2023 +0000 |
tree | 8a35f1aa01076a35890862f90c186da7fe4ebeda | |
parent | d266812c63eb25cf9a586297785add76f5b1f073 [diff] |
go/net/psample: init This adds a minimal golang implementation facilitating network packet sampling based on 'psample' kernel module. Metropolis kernel configuration was modified both in order for this change to be testable in a ktest, as well as to make sure Metropolis will be able to run the included code. Change-Id: Ie6a4721455f26644b6be01aa6190cf87f21355f3 Reviewed-on: https://review.monogon.dev/c/monogon/+/1102 Reviewed-by: Lorenz Brun <lorenz@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 //...