Hello alex-radiant,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
Problem
I understand that you are having failed installation of AppService extension into your Arc K8s cluster, running by MicroK8s.
Solution
When attempting to install the Azure Arc AppService extension on a MicroK8s Kubernetes cluster, there are several potential points of failure that could cause the provisioning state to fail.
Among many things to look into are the followings and links for more detail instructions:
- Ensure all required MicroK8s addons are enabled -MicroK8s Addons: https://microk8s.io/docs/addons
- Verify Kubernetes version compatibility: https://docs.microsoft.com/en-us/azure/azure-arc/kubernetes/
- Check Azure CLI and extensions: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
- Check Network Connectivity and ensure your VM has internet connectivity and can access Azure services: https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
- Ensure the service principal or managed identity has the necessary permissions: https://docs.microsoft.com/en-us/azure/azure-arc/kubernetes/manage-aks-rbac
- Check MicroK8s status:
microk8s status --wait-ready
microk8s inspect
- Verify storage class:
kubectl get storageclass
- Collect events and logs:
kubectl get events -n appservice-ns
andkubectl logs -n appservice-ns <pod-name>
References
Available extensions for Azure Arc-enabled Kubernetes clusters - Azure Arc
Accept Answer
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam