From 0a53d662d746155be91489281ca0270d47486159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20R=C3=BCttimann?= Date: Thu, 29 Oct 2020 11:40:40 +0100 Subject: [PATCH] Fix order of extra_binds Extra bind mounts have the order :. When copying the example from the documentation, the kubelet was not coming up anymore because it tried to mount `/host/dev` to `/dev`. Output from `docker inspect` on the kubelet container: ``` { "Type": "bind", "Source": "/host/dev", "Destination": "/dev", "Mode": "", "RW": true, "Propagation": "rprivate" }, ``` This commit fixes the order of the paths in the documentation. --- .../latest/en/config-options/services/services-extras/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/rke/latest/en/config-options/services/services-extras/_index.md b/content/rke/latest/en/config-options/services/services-extras/_index.md index 57f623800ab..e6f9a55a5c9 100644 --- a/content/rke/latest/en/config-options/services/services-extras/_index.md +++ b/content/rke/latest/en/config-options/services/services-extras/_index.md @@ -34,7 +34,7 @@ Additional volume binds can be added to services using the `extra_binds` argumen services: kubelet: extra_binds: - - "/host/dev:/dev" + - "/dev:/host/dev" - "/usr/libexec/kubernetes/kubelet-plugins:/usr/libexec/kubernetes/kubelet-plugins:z" ```