fully specify --container-runtime-endpoint flag
Resolves this warning: "/run/containerd/containerd.sock" as endpoint is deprecated please consider using full url format "unix:///run/containerd/containerd.sock" Signed-off-by: Tyler Kellen <tyler@sleekcode.net>
This commit is contained in:
parent
2073d270a5
commit
11189f6e8b
@ -97,7 +97,7 @@ Follow [the instructions](https://kubernetes.io/docs/setup/independent/install-k
|
|||||||
Create the systemd drop-in file `/etc/systemd/system/kubelet.service.d/0-containerd.conf`:
|
Create the systemd drop-in file `/etc/systemd/system/kubelet.service.d/0-containerd.conf`:
|
||||||
```
|
```
|
||||||
[Service]
|
[Service]
|
||||||
Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --runtime-request-timeout=15m --container-runtime-endpoint=/run/containerd/containerd.sock"
|
Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --runtime-request-timeout=15m --container-runtime-endpoint=unix:///run/containerd/containerd.sock"
|
||||||
```
|
```
|
||||||
And reload systemd configuration:
|
And reload systemd configuration:
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user