'Detect AKS namespace creation/deletion
I want to detect namespace creation or deletion activity inside my Azure Kubernetes Cluster. Is there a way to enable such logs (I prefer almost real time logs) and then detect the creation or deletion events of namespaces ?
Thanks
Solution 1:[1]
You can create an alert rule with your condition querying Log Analytics. This documentation should be good to start. Alternatively explore admission controllers and MutatingAdmissionWebhook resource definitions (AKS supports it).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | evgeny |
