Browse Source

fix

Signed-off-by: qi liang <qliang@microsoft.com>
pull/11232/head
qi liang 3 weeks ago
parent
commit
aaa025ec5b
  1. 7
      pkg/etcd/etcd.go

7
pkg/etcd/etcd.go

@ -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