berops / claudie

Cloud-agnostic managed Kubernetes
https://docs.claudie.io/
Apache License 2.0
600 stars 41 forks source link

Feat/init-process #1527

Closed Despire closed 3 weeks ago

Despire commented 3 weeks ago

When executing ansible paybooks multiple child processes are spawned as described in issue https://github.com/berops/claudie/issues/1317. The problem is that these processes are not correctly cleaned up after the playbook stops executing inside a docker environment. It unclear why the subprocesses are not correctly terminated, to address this issue the init system was added to the docker container for ansible.

The init process adopts, these "oprhaned children" left by ansible and cleans them up so that we do not eventually run out of resources on the docker image.

closes https://github.com/berops/claudie/issues/1317