question

alan-8532 avatar image
0 Votes"
alan-8532 asked alan-8532 commented

I am trying to install Istio on AKS

I am now installing Istio on AKS, referring to the following site.
https://docs.microsoft.com/en-us/azure/aks/servicemesh-istio-install?pivots=client-operating-system-linux

I don't think it's a problem until the chapter on Install the Istio Operator on AKS.

The chapter Install Istio components does not work.

Blockquote

![118119-image.png][1]

I get Kiali-related errors in istioctl install -f istio.aks.yaml.
I believe there is a problem with istio.aks.yaml.


[1]: /answers/storage/attachments/118119-image.png
azure-kubernetes-service
image.png (5.9 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@alan-8532 , Thank you for sharing your concern here.

As it so happens, we were not able to reproduce this issue based on the document you are following. Can you please share the AKS version you are using and the error message you have received?

0 Votes 0 ·

Thank you for your reply.

the AKS version you are using

How do I find out the version of AKS?

I searched for "version" in the JSON view and found the following.
But none of them seem to be the AKS version.

|"kubernetesVersion": "1.19.11"
|"orchestratorVersion": "1.19.11"
|"nodeImageVersion": "AKSUbuntu-1804gen2containerd-2021.07.03"

the error message you have received

I re-did the chapter on installing the Istio components.

|C:****\istio-1.10.3\bin>kubectl apply -f istio.aks.yaml
|istiooperator.install.istio.io/istio-control-plane configured

I also redid the istioctl.

|C:****\istio-1.10.3\bin>istioctl install -f istio.aks.yaml
|Error: validation errors (use --force to override):
|unknown field "kiali" in v1alpha1.Values

0 Votes 0 ·

@alan-8532 , The orchestratorVersion is the version of the AKS control plane, commonly referred to as the AKS version.

1 Vote 1 ·

@alan-8532 , Thank you for your response. This is a kubectl validation error. It seems like there might have been indentation errors (possibly around spec.values ) with the istio.aks.yaml script that you are running. Can you please check? I would recommend copying the whole script from the document and using it as istio.aks.yaml to confirm if it works.

Please do let us know if this helps.

0 Votes 0 ·
Show more comments

1 Answer

srbose-msft avatar image
0 Votes"
srbose-msft answered alan-8532 commented

@alan-8532 , Sorry I missed it the last time.

According to the steps outlined in this article, you won't have to run istioctl install -f istio.aks.yaml .

To install the Istio Operator on AKS please run istioctl operator init. To validate that it has been installed run kubectl get all -n istio-operator

You should see the components similar to the following deployed.

 NAME                                  READY   STATUS    RESTARTS   AGE
 pod/istio-operator-6d7958b7bf-wxgdc   1/1     Running   0          2m43s
    
 NAME                     TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
 service/istio-operator   ClusterIP   10.0.8.57    <none>        8383/TCP   2m43s
    
 NAME                             READY   UP-TO-DATE   AVAILABLE   AGE
 deployment.apps/istio-operator   1/1     1            1           2m43s
    
 NAME                                        DESIRED   CURRENT   READY   AGE
 replicaset.apps/istio-operator-6d7958b7bf   1         1         1       2m43s

To install istio components run:

 kubectl create ns istio-system
    
 kubectl apply -f istio.aks.yaml 

The contents of istio.aks.yaml should be as described here. To validate run kubectl get all -n istio-system

You do not have to run istioctl install -f istio.aks.yaml in this set-up.

Also the steps outlined in the aforementioned article assumes installed Istio version is 1.7.3.


Hope this helps.

Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your support.

I tried istioctl install -f istio.aks.yaml to get a hint on how to solve the problem,
I understand that it is unnecessary in itself.

I tried deleting the AKS deployment and then redeploying AKS again,
and then redoing the steps in the documentation.
However, the result did not change.

|C:*\istio-1.10.3\bin>istioctl operator init
|Installing operator controller in namespace: istio-operator using image: docker.io/istio/operator:1.10.3
|Operator controller will watch namespaces: istio-system
|✔ Istio operator installed
| [32m✔ [0mInstallation complete
|
|C:*
\istio-1.10.3\bin>kubectl create ns istio-system
|Error from server (AlreadyExists): namespaces "istio-system" already exists
|
|C:*\istio-1.10.3\bin>kubectl apply -f istio.aks.yaml
|istiooperator.install.istio.io/istio-control-plane created
|
|C:*
\istio-1.10.3\bin>kubectl get all -n istio-system
|No resources found in istio-system namespace.

... I thought there was nothing wrong with kubectl create ns istio-system giving me an error,
but maybe this is wrong?

0 Votes 0 ·

II've tried everything, but it still doesn't work.

was wondering if it might be a quota issue,
which subscription would I need to use Istio with Azure AKS?

0 Votes 0 ·