Istio Service Mesh

sc 0 Reputation points
2024-06-22T17:43:21.0166667+00:00

Current Setup: With Free Trial Azure Cloud Account.

I am following below docs to setup Istio on my AKS CLuster

https://learn.microsoft.com/en-us/azure/aks/istio-deploy-addon

https://learn.microsoft.com/en-us/azure/aks/istio-deploy-ingress

When I reached at this step:

az aks mesh enable-ingress-gateway --resource-group $RESOURCE_GROUP --name $CLUSTER --ingress-gateway-type externa

This commands gets executed successdully

But After this:

I am supposed to run "kubectl get svc aks-istio-ingressgateway-external -n aks-istio-ingress" but it is resulting in nothng.



Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,992 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 8,705 Reputation points
    2024-06-22T18:09:05.5666667+00:00

    Hello sc,

    Thanks for your question.

    If the output of the get command does not return any value it means that there is no "aks-istio-ingressgateway-external" resource in the "aks-istio-ingress namespace".

    This either means that the resource did not deploy at all or does not exist in the namespace. You could also confirm if the namespace itself exists

    To test further run

    kubectl get ns  #check namespace existence
    kubectl get all -n aks-istio-ingress #get all resources in the namespace
    

    If the namespace exists and the resource is not present, I will recommend you simply redeploy. That will solve.

    az aks mesh enable-ingress-gateway --resource-group $RESOURCE_GROUP --name $CLUSTER --ingress-gateway-type external
    

    Remember to replace $RESOURCE_GROUP and $CLUSTER with the correct values

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola