![]() This introduces k8s-container-cleanup script that will be called
when containerd.service is stopped. The script detects whether systemd
state is 'stopping' due to shutdown/reboot, then stops all running
containers before the service shuts down.
During shutdown/reboot, some containers are not receiving the
SIGTERM signal. This leads to unexpected behaviour such as
generating huge coredumps.
There is an upstream issue regarding this:
https://github.com/kubernetes/kubernetes/issues/107158
The problem seems to be systemd related but this commit
addresses the problem with a workaround.
This reverts commit
|
||
---|---|---|
.. | ||
LICENSE | ||
kubelet-service-remove-docker-dependency.patch | ||
kubelet_override.yaml | ||
kubernetes-accounting.conf | ||
sanitize_kubelet_reserved_cpus.sh | ||
upgrade_k8s_config.sh |