Do not decommission when node is miss behaving #158
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
e8ef83d Revert decommission on delete feature
As there 1 hour limit with cloud provider node pool migration, that is not
enough for some Redpanda cluster to finish decommission on delete feature
will be removed from Redpanda operator.
ad31401 Do not decommission when Node has taints
Continue with Pod finalizer handling if allowPVCDeletion flag is not enabled or when
K8S Node does not report NoExecute taint effect with NodeUnreachable key.
Previous implementation would decommission Redpanda Pods when Node reported
Unreachable
taint with
NoExecute
effect.At times when K8S node has brief problems, then operator that has disabled
allow-pvc-deletion
flagwould decommission Redpanda Pod. This creates problem as Pod would be recreated on the same
K8S Node, but Redpanda Node ID is already decommission and can not participate in control log raft
quorum.
Reference
PR that added decommission-on-delete behaviour
#112
PR that adds finalizer to Redpanda Pods
redpanda-data/redpanda#6942