From e148288b454a135527105bfcad4b4466265c1148 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sun, 1 Sep 2024 22:34:37 +0200 Subject: [PATCH] feat(k0s): update volume configuration for openebs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mount k0s-run-udev to /run/udev for openebs - remove note about openebs from README.md 🤖 --- README.md | 5 ----- docker-compose.yml | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 671030d..bf0f36f 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,6 @@ ## Notes -### openebs - -When running in docker `/run/udev/` does not exist, but is required by `openebs`. -Simple fix is `docker compose exec -it k0s mkdir /run/udev/` - ### ArgoCD To retrieve the initial admin password use diff --git a/docker-compose.yml b/docker-compose.yml index 5f11fad..1343fe0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,11 +9,13 @@ services: network_mode: host volumes: - k0s-data:/var/lib/k0s/ - - k0s-storage:/var/openebs/ - k0s-run:/run/ + - k0s-storage:/var/openebs/ + - k0s-run-udev:/run/udev - ./k0s-config.yaml:/etc/k0s/config.yaml volumes: k0s-data: - k0s-storage: k0s-run: + k0s-storage: + k0s-run-udev: