Levels of diagnostic logs in AKS #1036
-
My deployment is failing on this rule. Rule: Azure.AKS.PlatformLogs However the AKS Secure Baseline Cluster Stamp (which is generally the go-to reference implementation), only configures 4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@Gordonby That is fair. The implementation was based on https://docs.microsoft.com/en-gb/azure/aks/monitor-aks#collect-resource-logs which does suggest AllMetrics should be logged but I can see why that may not be desired. Does it help to know that you can override the default configuration with the following to remove # YAML: The default AZURE_AKS_ENABLED_PLATFORM_LOG_CATEGORIES_LIST configuration option
configuration:
AZURE_AKS_ENABLED_PLATFORM_LOG_CATEGORIES_LIST: ['cluster-autoscaler', 'kube-apiserver', 'kube-controller-manager', 'kube-scheduler'] @ArmaanMcleod Thoughts? |
Beta Was this translation helpful? Give feedback.
@Gordonby That is fair. The implementation was based on https://docs.microsoft.com/en-gb/azure/aks/monitor-aks#collect-resource-logs which does suggest AllMetrics should be logged but I can see why that may not be desired.
Does it help to know that you can override the default configuration with the following to remove
AllMetrics
?@ArmaanMcleod Thoughts?