Skip to content

hope add terminationGracePeriodSeconds support #3433

@lurenjia528

Description

@lurenjia528

What is missing?
hope add sts.spec.template.spec.terminationGracePeriodSeconds support

Why do we need it?
releate to https://github.com/prometheus-operator/prometheus-operator/issues/3425 ,

if prometheus(sts) is running on node-1,when node-1 is down, the prometheus(sts) do not recreate on other ready node,
yeah,sts is design so , kubernetes/kubernetes#54368 (comment) , but when set terminationGracePeriodSeconds=0, sts can recreate on other ready node,then ,this enables fault migration

so ,I hope add terminationGracePeriodSeconds in prometheusSpec

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions