Skip to content

AKS: Emit Container Insights and monitoring Bicep #16150

@mitchdenny

Description

@mitchdenny

Problem

WithContainerInsights() and WithAzureLogAnalyticsWorkspace() exist as APIs on AzureKubernetesEnvironmentResource but the Bicep generation does not emit the necessary Azure resources.

Missing Bicep

  • addonProfiles.omsagent configuration with Log Analytics workspace ID
  • azureMonitorProfile.metrics.enabled for managed Prometheus
  • Data collection rules for container insights
  • Optional Application Insights OTLP integration

Current state

The extension methods set ContainerInsightsEnabled and LogAnalyticsWorkspace properties, but GenerateAksBicep() does not read them.

Related

Part of AKS hosting support (PR #16088)

Metadata

Metadata

Assignees

Labels

area-integrationsIssues pertaining to Aspire Integrations packages

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions