Skip to content

Files

Latest commit

 

History

History
31 lines (22 loc) · 542 Bytes

AZU009.md

File metadata and controls

31 lines (22 loc) · 542 Bytes

Pattern: Ensure AKS logging to Azure Monitoring is Configured

Issue: -

Description

Ensure AKS logging to Azure Monitoring is configured for containers to monitor the performance of workloads.

Resolution: Enable logging for AKS.

Examples

Example of incorrect code:

resource "azurerm_kubernetes_cluster" "bad_example" {
    addon_profile {}
}

Example of correct code:

resource "azurerm_kubernetes_cluster" "good_example" {
    addon_profile {
		oms_agent {
			enabled = true
		}
	}
}