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:
Ramon Rüttimann
2020-10-29 11:40:40 +01:00
committed by GitHub
parent c8440bc168
commit 0a53d662d7
@@ -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"
```