Skip to content

Commit

Permalink
Merge pull request #8673 from cyclinder/cyclinder/node-network-unavai…
Browse files Browse the repository at this point in the history
…lable

Restart the node if NodeNetworkCondition cannot be set
  • Loading branch information
marvin-tigera authored Apr 2, 2024
2 parents 5e576f3 + 8fe82ee commit 79546a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/pkg/lifecycle/startup/startup.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ func Run() {
err := utils.SetNodeNetworkUnavailableCondition(*clientset, k8sNodeName, false, 30*time.Second)
if err != nil {
log.WithError(err).Error("Unable to set NetworkUnavailable to False")
utils.Terminate()
}
}
}
Expand Down

0 comments on commit 79546a5

Please sign in to comment.