Skip to content

Docs claim podTerminationGracePeriod default is 30 but it's actually -1 #348

@gabegorelick

Description

@gabegorelick

https://github.com/aws/aws-node-termination-handler/tree/e0260bd31fc6267fb04b32a0adf920983c436644/config/helm/aws-node-termination-handler has the following:
image

But looking at the code, the default is actually -1:

podTerminationGracePeriodDefault = -1

I think the confusion stems from the fact that Kubernetes' default is 30, so transitively NTH's default is 30. But if your pod has a custom value, NTH will not override that by default. This could be made clearer in the docs.

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