integ/kubernetes
Daniel Safta f3c18b0f79 Add k8s container cleanup
When executing a reboot/shutdown
k8s pods are not receiving the SIGTERM
signal which leads some of them 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 commit introduces a new script that
will cleanup all the remaing pods and will
be run after kubelet is stopped.

The script is executed successfully when
kubelet stops and the pods are stopped
before the system shuts down.

Closes-bug: 1964111
Signed-off-by: Daniel Safta <daniel.safta@windriver.com>
Change-Id: Ia0376aa510dd0dc3983e16cd89840726c15d6c92
2022-03-09 11:10:51 -05:00
..
armada armada: remove dl_hook 2021-12-16 13:37:33 +08:00
armada-helm-toolkit Fix lintian errors 2022-01-21 13:41:50 -05:00
chartmuseum chartmuseum: update meta_data.yaml to remove dl_hook 2021-12-07 17:41:11 +08:00
cni CentOS: Uprev the containernetwork-plugins to 1.0.1 2022-03-02 11:47:20 -05:00
containerd Add debian package for containerd 2021-10-27 12:02:46 +03:00
crictl/debian crictl: use dl_path instead of dl_hook 2021-12-03 15:30:30 +00:00
docker-distribution Debian: Remove user directive from docker-registry service 2022-02-15 14:57:44 -03:00
etcd debian: Add missing /etc/etcd directory 2022-01-19 08:38:43 -05:00
helm debian: Correct helm-upload path 2022-01-31 14:17:03 +00:00
k8s-cni-cache-cleanup/centos Implement CNI cache file cleanup for stale files 2021-11-01 10:39:39 -04:00
k8s-pod-recovery k8s-pod-recovery: use src_path instead of dl_hook 2021-11-17 17:59:10 +08:00
kubernetes-1.18.1/centos/files Remove kubernetes 1.18, 1.19, 1.20 pkgs 2022-02-23 15:24:03 +00:00
kubernetes-1.21.8 Add k8s container cleanup 2022-03-09 11:10:51 -05:00
kubernetes-1.22.5/centos Add k8s container cleanup 2022-03-09 11:10:51 -05:00
kubernetes-unversioned Add k8s container cleanup 2022-03-09 11:10:51 -05:00
n3000/centos Upversion OPAE SDK to 1.3.7-5 2021-06-24 15:27:25 -04:00
plugins sriov-network-device-plugin: update repo commit id 2021-11-11 21:57:40 +00:00
runc/debian Add debian package for runc 2021-10-29 12:21:49 +03:00