Skip to content

Support for data collection parameters in AKS #21406

@mkemmerz

Description

@mkemmerz

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Microsoft started with some ways to cost optimize the AKS logs: https://learn.microsoft.com/en-us/azure/azure-monitor/containers/container-insights-cost-config?tabs=create-arm#data-collection-parameters

This also includes values like an interval: "This value determines how often the agent collects data." - which is basically my feature request.

The data collection setting is found here in the AKS:
image
image

New or Affected Resource(s)/Data Source(s)

azurerm_kubernetes_cluster

Potential Terraform Configuration

Pre-defined values:
monitor_settings {
   cost_presets = "Standard|Cost-optimized|Syslog"
}

definition with custom values:
monitor_settings {
   cost_presets = "Custom"
   interval = "x"
   namespace_excluded = "..."
   collect_syslog = true|false
}

References

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions