Visualize mesh using Kiali

Install Istio:

curl -L https://istio.io/downloadIstio | sh -

 add the /u02/workspace/istio-1.5.1/bin directory to your environment path variable with:

export PATH="$PATH:/u02/workspace/istio-1.5.1/bin"

Begin the Istio pre-installation verification check by running:
  

 istioctl verify-install

 

helm template --set kiali.enabled=true install/kubernetes/helm/istio --name istio --namespace istio-system > customized-istio.yaml
kubectl apply -f customized-istio.yaml

. Verify:

        kubectl get pods -n istio-system -l app=kiali
        NAME                     READY   STATUS    RESTARTS   AGE
        kiali-58bf795c96-pdf9b   1/1     Running   0          32s

. Open Kiali UI:

      kubectl -n istio-system \
      port-forward $(kubectl -n istio-system \
      get pod -l app=kiali \
      -o jsonpath='{.items[0].metadata.name}') 20001:20001 &

. View Kiali dashboard http://localhost:20001/
. Invoke the endpoint a few times:

        for i in {1..50}
        do
          curl -q -H"Host: greeting.com" http://$INGRESS_HOST:$INGRESS_PORT/hello
          echo
        done

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章