commit | 00343808fb93a070f99c259e4ad9b7294e22e767 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Apr 20 17:04:32 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Fri Apr 21 10:21:02 2023 +0000 |
tree | 8bbf40ac7ef5b2a580ae84e613fc5e2e0df26782 | |
parent | 333cb8bd69852ebb2010fc821e525345f0e6a8a9 [diff] |
c/agent: add timeout to Heartbeat RPCs gRPC recommends adding a deadline or timeout to all RPCs, let's also do that here to avoid a single RPC from taking too long and causing the agent to be restarted because it missed a heartbeat. Change-Id: I99b413ce09fbfba93f1fc49fc5ca2da440f0d30e Reviewed-on: https://review.monogon.dev/c/monogon/+/1590 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@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 //...