17 lines
558 B
SYSTEMD
17 lines
558 B
SYSTEMD
|
[Unit]
|
||
|
Description=kubelet: The Kubernetes Node Agent
|
||
|
Documentation=https://kubernetes.io/docs/concepts/overview/components/#kubelet https://kubernetes.io/docs/reference/generated/kubelet
|
||
|
After=network.target network-online.target
|
||
|
Wants=containerd.service crio.service
|
||
|
ConditionPathExists=/var/lib/kubelet/config.yaml
|
||
|
|
||
|
[Service]
|
||
|
ExecStartPre=/bin/bash -c "findmnt -t bpf --mountpoint /sys/fs/bpf > /dev/null || mount bpffs /sys/fs/bpf -t bpf"
|
||
|
ExecStart=/usr/bin/kubelet
|
||
|
Restart=always
|
||
|
StartLimitInterval=0
|
||
|
RestartSec=10
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|