I am failing to install AppService extension into my Arc K8s cluster, running by MicroK8s.
Have a VM in datacenter, Ubuntu 22, installed latest Azure CLI and all the required extensions according to article.
Installed MicroK8s with the following extensions
Tried to use “default” and “microk8s-hostpath” storage classes.
Tried to add extension from UI and from this command:
az k8s-extension create
--resource-group rg-clusters
--name appservice-ext
--cluster-type connectedClusters
--cluster-name my-cluster
--extension-type 'Microsoft.Web.Appservice'
--auto-upgrade-minor-version true
--scope cluster
--release-namespace appservice-ns
--configuration-settings "appsNamespace=appservice-ns"
--configuration-settings "clusterName=my-cluster"
--configuration-settings "keda.enabled=true"
--configuration-settings "buildService.storageClassName=microk8s-hostpath"
--configuration-settings "buildService.storageAccessMode= ReadWriteMany"
--configuration-settings "customConfigMap=appservice-ns/kube-environment-config"
--configuration-settings "logProcessor.appLogs.destination=log-analytics"
--config-protected-settings "logProcessor.appLogs.logAnalyticsConfig.customerId=${LOG_ANALYTICS_WORKSPACE_ID_ENC}"
--config-protected-settings "logProcessor.appLogs.logAnalyticsConfig.sharedKey=${LOG_ANALYTICS_KEY_ENC}"
It takes ages, more than 20 minutes, then fails – shows “Provisioning state – Failed”.
Please advise as I do not see in all the Activity Logs at Azure any exceptions or errors.
Perhaps, this combination: Ubuntu 22 x64 + MicroK8s + Arc AppService Extension – does not work?
Many thanks!