Score:1

How to check if a node in k8s cluster got rebooted

mx flag

k8s master checks for kubelet status at frequent intervals. Maybe we can change that time and that makes the node not-ready. But that doesn't always mean that the node got rebooted.

  1. How to change kubelet status check frequency?
  2. If I don't want to change the kubelet status check frequency, then how could I get to know whether a node got rebooted?
Score:0
jp flag

As per the official Kubernetes documentation the frequency can be changed using the --node-status-update-frequency duration flag, but please see the limitations. To check node condition you can reference to here, if you want to check strictly node uptime you please see this.

Wytrzymały Wiktor avatar
it flag
Hello @user762025 and welcome to ServerFault! Please remember to [react to answers for your questions](https://stackoverflow.com/help/someone-answers). That way we know if the answers were helpful and other community members could also benefit from them. Try to [accept answer](https://stackoverflow.com/help/accepted-answer) that is the final solution for your issue, upvote answers that are helpful and comment on those which could be improved or require additional attention. Enjoy your stay!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.