commit | 5df62bae21bd89f15321a54a33a2ff59f5cbdce8 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 22 17:56:46 2023 +0100 |
committer | Serge Bazanski <serge@monogon.tech> | Mon Apr 17 09:14:54 2023 +0000 |
tree | 45e397cafdbff558801e94c4c124bbb8e4d8a55b | |
parent | 10b2154450b4e43d2b959137f47bceeaf9c9f1f3 [diff] |
metropolis: implement cluster configuration This adds a cluster configuration to Metropolis. We'll be keeping any non-node-specific options there. The config is stored in etcd by the curator. An initial cluster configuration can be specified when bootstrapping a cluster. By design the configuration is then immutable by default, but we might add some purpose-specific management API calls to change some values if needed. We initialize the cluster configuration with a setting for node TPM policy, 'TPMMode'. It's currently populated on cluster bootstrap, but not used otherwise. That will come in a follow-up CR. Change-Id: I44ddcd099c9ae68c20519c77e3fa77c894cf5a20 Reviewed-on: https://review.monogon.dev/c/monogon/+/1494 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 //...