Signed-off-by: qi liang <qliang@microsoft.com>
pull/11232/head
qi liang 4 weeks ago
parent c8f6276beb
commit aaa025ec5b

@ -1352,6 +1352,13 @@ func (e *ETCD) setEtcdStatusCondition(node *v1.Node, client kubernetes.Interface
Reason: "NotAMember",
Message: "Node is not a member of the etcd cluster",
}
case StatusUnknownMember:
newCondition = v1.NodeCondition{
Type: etcdStatusType,
Status: "False",
Reason: "UnknownMember",
Message: "unknown member detected in etcd cluster",
}
default:
logrus.Warnf("Unknown etcd member status %s", memberStatus)
return nil

Loading…
Cancel
Save