brew install weaveworks/tap/eksctl
orbrew upgrade weaveworks/tap/eksctl
eksctl create cluster --name myeks --nodes=4
-
curl -LO https://github.com/istio/istio/releases/download/1.0.3/istio-1.0.3-osx.tar.gz
-
Install Helm:
kubectl -n kube-system create sa tiller kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller helm init --service-account tiller
-
Install Istio (with Jaeger and Grafana):
helm install \ --wait \ --name istio \ --namespace istio-system \ --set grafana.enabled=true \ --set tracing.enabled=true \ install/kubernetes/helm/istio
-
Create credentials to authenticate Kiali:
USERNAME=$(echo -n 'admin' | base64) PASSPHRASE=$(echo -n 'mysecret' | base64) NAMESPACE=istio-system cat <<EOF | kubectl apply -f - apiVersion: v1 kind: Secret metadata: name: kiali namespace: $NAMESPACE labels: app: kiali type: Opaque data: username: $USERNAME passphrase: $PASSPHRASE EOF
-
Generate template for Kiali:
helm template \ --set kiali.enabled=true \ --set "kiali.dashboard.jaegerURL=http://$(kubectl get svc tracing -n istio-system -o jsonpath='{.spec.clusterIP}'):80" \ --set "kiali.dashboard.grafanaURL=http://$(kubectl get svc grafana -n istio-system -o jsonpath='{.spec.clusterIP}'):3000" \ install/kubernetes/helm/istio \ --name istio --namespace istio-system > ./kiali.yaml
-
kubectl apply -f ./kiali.yaml
kubectl label namespace default istio-injection=enabled
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].port}')
export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
open http://${GATEWAY_URL}/productpage
kubectl -n istio-system get svc kiali
I also got this error with Istio 1.1 Snapshot 2:
Error: found in requirements.yaml, but missing in charts/ directory: sidecarInjectorWebhook, security, ingress, gateways, mixer, nodeagent, pilot, grafana, prometheus, servicegraph, tracing, galley, kiali, certmanager
I did the following:
And then it worked.
The doc needs improvement for the changed in the coming 1.1 version:
istio/istio.io#2876
And I created a JIRA to see if we can simplify this kind of installation like we do with our operator: https://maistra.io/docs/install/
https://issues.jboss.org/browse/KIALI-1939