mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 13:08:11 +00:00
Fix order of extra_binds
Extra bind mounts have the order <source>:<destination>. 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.
This commit is contained in:
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user