Skip to content

Define how DeletionMode and PodUpdateStrategy interact #1059

Open
@johscheuer

Description

@johscheuer

What happened?

I think the current behaviour and integration between DeletionMode and PodUpdateStrategy of the operator is confusing to users. For example if a user set DeletionMode to None the user would expect that the operator is not deleting any Pods but the operator will still be able to replace Pods e.g. triggered automatically or by changing a specific setting. I think the more consistent behaviour would be to prevent any deletion and replacements if the DeletionMode is set to None and only if the DeletionMode is different than None the operator will do replacements (but not honouring the actual DeletionMode for replacements).

This issue get's more interesting when we use the default for PodUpdateStrategy to replace the transaction system, because now the transaction system will be updated but the rest of the cluster won't.

What did you expect to happen?

I think we should implement the behaviour like I mentioned above and document the different interactions better.

How can we reproduce it (as minimally and precisely as possible)?

Anything else we need to know?

No response

FDB Kubernetes operator

Kubernetes version

Cloud provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions