commit | bfc280739cdbae950611e5d35a1adb5cd0f58feb | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 01 13:56:27 2023 +0000 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 15 09:29:09 2023 +0000 |
tree | 8e86b9bcaa33f3cb3dd5950a556ecf0641f58c02 | |
parent | 15f7f637d6885b471f52fd0aa04d04998366a7f9 [diff] |
m/node/core: fix up resolver keepalives We set up keepalives in the resolver to quickly detect that a Curator is not longer available. This fixes two bugs related to their use: 1. When the resolver's curator connection dies (eg. when we get kicked off by the curator for keepaliving too often), we recreate it fully and thus lose any 'keepalive backoff' state that the client connection carries, thereby not letting that keepalive bachoff mechanism kick in as intended. 2. The server-side limits for client keepalives were simply too low compared to what the resolver library wants to use. Change-Id: If2e53e20a1462e9f71a3723b92d346aff795d84c Reviewed-on: https://review.monogon.dev/c/monogon/+/1321 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 //...