Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qi liang committed Nov 4, 2024
1 parent c766275 commit 0d5b2f8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d5b2f8

Please sign in to comment.