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.
pull/7669/head
Julian Hübenthal 2018-04-09 16:20:10 +02:00 committed by k8s-ci-robot
parent a1a3010a00
commit 95bf42a2c5
1 changed files with 1 additions and 0 deletions

View File

@ -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