Hi Jacob Solomon,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
To get notifications for AKS events like SPOT VM preemption, Azure Monitor is required. You need to enable Diagnostic Settings to send the kube-events logs to a Log Analytics workspace. Once the logs are available, you can set up Log Alerts in Azure Monitor to trigger notifications based on specific conditions, such as SPOT VM preemption.
Go to your AKS cluster in the Azure portal, enable Diagnostic Settings, and send the kube-events logs to a Log Analytics workspace. Use the following query to filter preemption events:
KubeEvents
| where Reason == "Preempted" and Message contains "spot"
Create an alert rule in Azure Monitor based on this query to receive notifications.
For more details, please refer to the below documentation:
Monitor Azure Kubernetes Service (AKS)
Create or edit a log search alert rule
If an answer has been helpful, please consider accept the "Answer" and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.