Init Container keeps restarting while running using Quadlet-managed systemd units #18547
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
When starting using
systemctl start cube
the service specified in Cube which is a K8S YAML file with an init container , the init container keeps restartingAssumption
Systemd is flagging the init containers as failed, because they are treated identically to any other container and it is not aware that they aren't supposed to run continuously
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Container restarts
Describe the results you expected
Once the init container peforms required tasks it should not restart and remaining containers should be up and running as expected
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
Yes
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
➜
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: