commit | 54e212a9914ad8003fc4e353f96651340d287c2d | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Jun 14 13:45:11 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Tue Jun 20 11:37:55 2023 +0000 |
tree | df3b1624d9679e30aefac9b98b2f9b91523eca0b | |
parent | d34299ebe13211802739d698e526be78161eac6f [diff] |
metropolis: implement Metrics Service This is the first pass at a Metrics Service. It currently consists of an HTTP reverse proxy which authenticates incoming connections using the Cluster CA and certificates, and passes these connections over to a locally running node_exporter. In the future more exporters will be added, and we will likely also run our own exporter for Metropolis-specific metrics. Change-Id: Ibab52aa303965dd7d975f5035f411d1c56ad73e6 Reviewed-on: https://review.monogon.dev/c/monogon/+/1816 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@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 //...