-
Guido Trotter authored
If --force is used to demote an MC, but then there are not enough MCs in the cluster, the configuration gets corrupted until a node is promoted. In order to avoid that we only allow demotion with --force if the node is offlined or drained at the same time, and we don't have any other node available to promote. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Olivier Tharan <olive@google.com>
8fbf5ac7