mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-01 23:59:50 +00:00
Run kubelet with containerd flag
The containerd flag was accidentally added to kubelet and is deprecated, but needed for cadvisor to properly connect with the k3s containerd socket, so adding for now.
This commit is contained in:
@@ -93,6 +93,7 @@ func startKubelet(cfg *config.Agent) {
|
||||
if cfg.RuntimeSocket != "" {
|
||||
argsMap["container-runtime"] = "remote"
|
||||
argsMap["container-runtime-endpoint"] = cfg.RuntimeSocket
|
||||
argsMap["containerd"] = cfg.RuntimeSocket
|
||||
argsMap["serialize-image-pulls"] = "false"
|
||||
} else if cfg.PauseImage != "" {
|
||||
argsMap["pod-infra-container-image"] = cfg.PauseImage
|
||||
|
||||
Reference in New Issue
Block a user