adorable-soccer-30455
11/16/2021, 3:13 PMbillowy-army-68599
11/16/2021, 3:51 PMgray-ambulance-59402
11/16/2021, 9:03 PMclever-sunset-76585
11/16/2021, 10:49 PM~ via ⬢ v14.17.5 took 2s
❯ az aks enable-addons -h
Command
az aks enable-addons : Enable Kubernetes addons.
These addons are available:
http_application_routing - configure ingress with automatic public DNS name creation.
monitoring - turn on Log Analytics monitoring. Requires "--workspace-resource-id".
If monitoring addon is enabled --no-wait argument will have no effect
virtual-node - enable AKS Virtual Node. Requires --subnet-name to provide the name of an
existing subnet for the Virtual Node to use.
azure-policy - enable Azure policy. The Azure Policy add-on for AKS enables at-scale
enforcements and safeguards on your clusters in a centralized, consistent manner.
Learn more at <http://aka.ms/aks/policy|aka.ms/aks/policy>.
ingress-appgw - enable Application Gateway Ingress Controller addon.
great-breakfast-56601
11/17/2021, 6:36 AMAddonProfiles =
{
{ "KubeDashboard", new ManagedClusterAddonProfileArgs
{
Enabled = false,
}
},
{ "azurepolicy", new ManagedClusterAddonProfileArgs
{
Enabled = true,
}
},
{ "omsagent", new ManagedClusterAddonProfileArgs
{
Enabled = true,
Config = new InputMap<string>{ {"logAnalyticsWorkspaceResourceID", workspace.Id} }
}
},
},
This is what it looks like in c#. Docs for this are shockingly absent.adorable-soccer-30455
11/17/2021, 11:08 AMaddonProfiles: {
"omsagent": {
enabled: true,
config: {
logAnalyticsWorkspaceResourceID: WrkspID
},
},
"azurepolicy": {
enabled: true,
}
},
billowy-army-68599
11/17/2021, 3:20 PM