mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Reload systemd config files before starting kubelet.
In some environments, the os image comes with preloaded kubelet.service, so we need to reload systemctl configs to make changes effective.
This commit is contained in:
@@ -1170,6 +1170,7 @@ ExecStart=${kubelet_bin} \$KUBELET_OPTS
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl start kubelet.service
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user