Share via

Istio namespaces are missing when Istio Add-On is enabled

Majid Rafigh 40 Reputation points Microsoft Employee
2026-02-11T08:03:56.6933333+00:00

I am evaluating using the Istio add‑on in AKS cluster. For testing a few scenarios, I need to enable and disable the add‑on. After disabling and re‑enabling it, I don’t see the Istio‑related namespaces in the cluster, such as istio-system or aks-istio-ingress. I checked the logs for errors but didn’t find anything. I also re‑enabled the add‑on multiple times, but it didn’t help, even though the add‑on shows as enabled in the portal.

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.

{count} votes

Answer accepted by question author
  1. Ankit Yadav 12,120 Reputation points Microsoft External Staff Moderator
    2026-02-11T08:52:23.7666667+00:00

    We worked with the customer offline and the issue was mitigated, below is the RCA for the issue:

    Issue Summary:

    The customer's AKS cluster showed Istio add-on as "enabled" in the Azure Portal UI, but no Istio-related namespaces (e.g., aks-istio-system) were created, leading to control-plane instability.

    Root Cause

    We checked the issue from the backend and found that the Istio add-on could not be enabled because some parts of a previous Istio installation were not fully removed from the cluster.

    There were leftover webhooks from the earlier Istio setup. These webhooks had different configuration details than what the AKS Istio add-on expects. Because of this mismatch, the API server was not able to communicate with them properly, and as a result, Istio could not be configured successfully.

    Mitigation:

    ->We identified the Istio-related webhooks by running the command

    kubectl get validatingwebhookconfiguration and kubectl get mutatingwebhookconfiguration, then filtering for Istio entries. After identifying them, we deleted the leftover webhooks.

    -> Next, we disabled the Istio add-on and then enabled it again. This time, it was deployed correctly with the proper settings, which helped stabilize the cluster.

    Best Practices:

    • Before enabling Istio, always check if there are any existing Istio resources in the cluster. Look for validating or mutating webhooks, CRDs, and related namespaces, and remove them if they are leftovers from a previous installation.
    • Avoid making manual changes in the kube-system namespace, as this can affect core cluster components and cause unexpected issues.
    • After uninstalling Istio, make sure everything is completely removed, including webhooks, CRDs, roles, and any related resources. This helps prevent conflicts when reinstalling or enabling the add-on again.
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-11T08:04:05.8733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    If you are not seeing the Istio-related namespaces (like istio-system or aks-istio-ingress) after re-enabling the Istio add-on in your AKS cluster, there are a few steps you can take to troubleshoot this issue:

    1. Verify Installation: Use the istioctl verify-install command to ensure that Istio is installed correctly. This command can help confirm whether the installation was successful and if the necessary components are present.
         istioctl verify-install --istioNamespace aks-istio-system --revision <tag>
      
    2. Check Namespace Creation: Sometimes, namespaces may not be created automatically. You can manually check if the namespaces exist using the following command:
         kubectl get namespaces
      
      If the namespaces are missing, you may need to create them manually or investigate further why they are not being created.
    3. Review Logs: Since you mentioned checking logs for errors, ensure you are looking at the correct logs for the Istio components. You can retrieve the logs for the Istiod pod using:
         kubectl logs --selector app=istiod --namespace aks-istio-system
      
    4. Deployment Status: Check the status of the Istio deployment and replica sets to see if there are any issues preventing the pods from starting. Use:
         kubectl get deployments --namespace aks-istio-system
         kubectl get pods --namespace aks-istio-system
      
    5. Re-enable Add-On: If the add-on shows as enabled in the portal but the namespaces are still missing, consider disabling and re-enabling the add-on again, ensuring that there are no underlying issues with the AKS cluster itself.

    If the problem persists after these steps, you may want to consult Azure support for further assistance.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.