Added missing systemd unit-type (#8016)
The 20-cri.conf was missing the Service unit type, systemd ignored the Environment line because of this. It is fine now after adding the Service unit.
This commit is contained in:
committed by
zacharysarah
parent
4e22232c17
commit
0a6931282d
@@ -305,6 +305,7 @@ these two additional steps:
|
||||
|
||||
```shell
|
||||
cat > /etc/systemd/system/kubelet.service.d/20-cri.conf <<EOF
|
||||
[Service]
|
||||
Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --container-runtime-endpoint=$RUNTIME_ENDPOINT"
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user