Skip to content

🐛 Starting background processes in a container is fragile #278

Description

@grs

Describe the bug

If the background process exits, it will not be started. At present the ext_proc server is run in the background of the envoy proxy server, meaning that if that ext_proc server process exits for any reason, the pod will remain in a broken state until manually restarted.

There is also a combined container that includes container registration and spiffe-helper processes as well, though that is only used when explicitly enabled.

Steps To Reproduce

This issue arose from an inspection of the code. (You could observe the problem artificially by killing the background process in a container and observing that the container as a whole is not restarted).

Expected Behavior

Whenever an important process exits, it should be automatically restarted.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions