Skip to content

Levels of diagnostic logs in AKS #1036

Answered by BernieWhite
Gordonby asked this question in Q&A
Discussion options

You must be logged in to vote

@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?

# 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?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ArmaanMcleod
Comment options

@BernieWhite
Comment options

@Gordonby
Comment options

Answer selected by BernieWhite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants