This sample goes through the basics of creating an Azure Function that triggers on a new Azure Storage Queue message. The function can then be deployed to Kubernetes with KEDA for event driven activation and scale.
Nice step-by-step walk through for using Azure Functions with Kubernetes.
This effort will detect hardware failures or memory leaks that can lead to operating system crashes just before they occur, so that Azure can then freeze virtual machines for a few seconds so the workloads can be moved to a healthy host.
Source: Advancing Microsoft Azure reliability | Blog | Microsoft Azure
This reminds me of an MSR research paper I read a few years ago.