Hi,
This is stated in this article:
“When a security patch requires worker node reboots, Microsoft will notify customers of this requirement.“
Who is notified and how?
Regards Peter
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the question. We are currently investigating and will update you shortly.
Related comment in another issue https://github.com/MicrosoftDocs/azure-docs/issues/35195#issuecomment-511754085
@theheatDK After applying patches to the node, AKS creates a file /var/run/reboot-required.
Other than that , I am not aware of any notification process. I will check with the team and update you
@jnoller @jluk Please add your comments
@theheatDK I checked with my team.
Currently no notifications will be send other than the file creation which is happening inside the server.
We can achieve notification by various means. Easiest way is to deploy a daemon set which will check the files existence and notify if its there.
My team suggested a Medium article written by Dennis Zielke, which you can use as a starting point. In that article author used a daemon set to find the files existence and then writing a message in console. Later the author is using log analytics to created a dashboard. We can use the same log analytics alert to trigger a alert as well.
There is an existing feedback item here https://feedback.azure.com/forums/914020-azure-kubernetes-service-aks/suggestions/38173222-addon-for-automatic-reboot-of-nodes which is related to the rebooting of AKS nodes.
You can upvote there or create a new one here https://feedback.azure.com/forums/914020-azure-kubernetes-service-aks
Product teams look into these feedback and review them.
@theheatDK
I will close this out for now. If you need additional help please let me know and we can reopen and continue.
Thanks @jakaruna-MSFT,
Maybe somebody should update the documentation since it is currently wrong :-)
You mention /var/run/reboot-required. This is a standard Ubuntu functionality. I assume that there could be AKS patches that require a reboot. Will this also be communicated via /var/run/reboot-required?
Regards Peter
Assign this issue to me. /var/run/reboot-required is only for operating system security updates, not AKS cluster, kubernetes, or other updates. Those notifications are sent via Portal notification, the AKS release notes, etc.
I will clarify the wording
Hi @jnoller ,
Is there any "/var/run/reboot-required" equivalent for Windows nodes requiring a reboot ?
I thnik the whole reboot responsibilty problem is same for Windows nodes, isn't it ?
Hi @jnoller,
Do you still plan to clarify the wording in the article or should I close it? :-)
Regards Peter
Please clarify how the customer will be notified? Also, please update the document.
@theheatDK thank you for your feedback!
@jnoller added updated wording here in the note:
https://docs.microsoft.com/en-us/azure/aks/support-policies#microsoft-responsibilities-for-aks-worker-nodes
Most helpful comment
Assign this issue to me. /var/run/reboot-required is only for operating system security updates, not AKS cluster, kubernetes, or other updates. Those notifications are sent via Portal notification, the AKS release notes, etc.
I will clarify the wording