commit | d1c392a788043f2bd82d936a334bd01e1be97421 | [log] [tgz] |
---|---|---|
author | Lorenz Brun <lorenz@monogon.tech> | Thu Jul 06 19:10:56 2023 +0200 |
committer | Lorenz Brun <lorenz@monogon.tech> | Tue Jul 11 10:48:05 2023 +0000 |
tree | 1bdf2d7a4d7a54b2d8bda0c3c729eb2c9eef90a4 | |
parent | 0553f885b84ca97384ffdb942b30c67d23166a16 [diff] |
m/n/kubernetes: fix CSI local PV publishing Experimentally confirmed to fix pods stuck in creating because the mount syscall failed with ENOENT because the target directory did not exist. The current CSI spec now explicitly says that creation of target_path is the responsibility of the storage plugin, so let's actually create that directory. Change-Id: I57d8086f2e70040095206c36e4302b352d06bb84 Reviewed-on: https://review.monogon.dev/c/monogon/+/1914 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 //...