Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.63k stars 5.05k forks source link

Bicep config for AKS addonProfiles #17563

Open ezYakaEagle442 opened 2 years ago

ezYakaEagle442 commented 2 years ago

I have look the in Bicep doc for AKS but there no details about the addonProfiles configuration in Bicep, it is difficult for a newbie to configutre it correctly, for instance :

    addonProfiles: {
      omsagent: {
        config: {
          logAnalyticsWorkspaceResourceID: logAnalyticsWorkspaceId
        }
        enabled: true
      }
      azurepolicy: {
        enabled: true
      }
      // ingress-appgw ?
      ingressApplicationGateway:{
        enabled:true
        config:{
          applicationGatewayId: stg.properties.accessTier
        }
      }
      virtual-node {
      // What to configure here ?
      }
      openServiceMesh: {
        enabled: true
        config: {}
      }       
      gitops  {
            // What to configure here ?
      }
      azure-keyvault-secrets-provider {
            // What to configure here ?
      }

    }
ezYakaEagle442 commented 2 years ago

There is not more details at https://docs.microsoft.com/en-us/rest/api/aks/managed-clusters/create-or-update#managedclusteraddonprofile

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

Issue Details
I have look the in [Bicep doc for AKS](https://docs.microsoft.com/en-us/azure/templates/microsoft.containerservice/managedclusters?tabs=bicep) but there no details about the addonProfiles configuration in Bicep, it is difficult for a newbie to configutre it correctly, for instance : ```sh addonProfiles: { omsagent: { config: { logAnalyticsWorkspaceResourceID: logAnalyticsWorkspaceId } enabled: true } azurepolicy: { enabled: true } // ingress-appgw ? ingressApplicationGateway:{ enabled:true config:{ applicationGatewayId: stg.properties.accessTier } } virtual-node { // What to configure here ? } openServiceMesh: { enabled: true config: {} } gitops { // What to configure here ? } azure-keyvault-secrets-provider { // What to configure here ? } } ```
Author: ezYakaEagle442
Assignees: -
Labels: `AKS`, `Service Attention`, `needs-triage`
Milestone: -
olsenme commented 2 years ago

@satyavel

TomGeske commented 2 years ago

@ezYakaEagle442: not proper doc but I found this template super helpful: https://github.com/Azure/AKS-Construction/blob/main/bicep/main.bicep