fdb-kubernetes-operator icon indicating copy to clipboard operation
fdb-kubernetes-operator copied to clipboard

Remove `processGroupsToRemove` and `processGroupsToRemoveWithoutExclusion` for FoundationDBProcessGroup

Open johscheuer opened this issue 4 years ago • 0 comments

Instead of using the processGroupsToRemove and processGroupsToRemoveWithoutExclusion a user should directly target the desired FoundationDBProcessGroup and set the remove flag there. This should trigger an exclusion and once the Pod is excluded the FoundationDBProcessGroup controller can remove all resources. This has the benefit that we don't have to maintain additional information in the cluster CRD. Also this allows us to stop the deletion of a FoundationDBProcessGroup by just setting remove back to false.

Design: https://github.com/FoundationDB/fdb-kubernetes-operator/blob/master/docs/design/process_group_crd.md

johscheuer avatar Jun 21 '21 08:06 johscheuer