Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Reference STOPSIGNAL by number instead of name #1

@lion7

Description

@lion7

Using SIGRTMIN+3 doesn't work on k3s (and probably other runc-based runtimes).
This issue is described in opencontainers/runc#1766.
The suggested workaround there is to reference the signal by number instead: STOPSIGNAL 37.

STOPSIGNAL SIGRTMIN+3

So far this seems to work fine.
Before:

default       16s         Normal    Killing             pod/kopano-0          Stopping container kopano
default       15s         Warning   FailedKillPod       pod/kopano-0          error killing pod: failed to "KillContainer" for "kopano" with KillContainerError: "rpc error: code = Unknown desc = failed to parse stop signal \"SIGRTMIN+3\": unknown signal \"SIGRTMIN+3\""

After:

default       2m59s       Normal    Killing             pod/kopano-0          Stopping container kopano
<no errors here>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions