-
Notifications
You must be signed in to change notification settings - Fork 308
Closed
Milestone
Description
cluster-operator/internal/resource/statefulset.go
Lines 616 to 618 in 82415be
| fmt.Sprintf(" rabbitmq-upgrade await_online_quorum_plus_one -t %d &&"+ | |
| " rabbitmq-upgrade await_online_synchronized_mirror -t %d &&"+ | |
| " rabbitmq-upgrade drain -t %d", |
The command rabbitmq-upgrade await_online_synchronized_mirror is removed in 4.0. In order to support 4.0, we need to remove this check from the pre-stop hook, otherwise, the hook will always fail, and Kubernetes will ungracefully kill the Pod.
From: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution
If either a PostStart or PreStop hook fails, it kills the Container.
Metadata
Metadata
Assignees
Labels
No labels