for i in install/kubernetes/helm/istio-init/files/crd*yaml; do kubectl apply -f $i; done
for i in install/kubernetes/helm/istio-init/files/crd*yaml; do kubectl delete -f $i; done
-
with automatic side car injection kubectl label namespace istio-injection=enabled kubectl create -n -f .yaml
-
manually side car injection istioctl kube-inject -f .yaml | kubectl apply -f -
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
TOKEN=((kubectl -n kube-system describe secret default | Select-String "token:") -split " +")[1] && kubectl config set-credentials docker-for-desktop --token="${TOKEN}"
https://istio.io/docs/tasks/telemetry/metrics/using-istio-dashboard/
$ kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=grafana -o jsonpath='{.items[0].metadata.name}') 3000:3000 &