DEV Community

Tunde Oladipupo
Tunde Oladipupo

Posted on

Install Istio with kubectl

To install Istio on EKS with kubectl, we will need to use helm to generate the manifest and use kubectlto apply.

Install Istio Init

curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.3.3 sh - cd istio-1.3.3 helm template install/kubernetes/helm/istio-init --namespace istio-system | kubectl apply -f - 

Install Istio Demo

kubectl apply -f install/kubernetes/istio-demo.yaml 

Output

$ kubectl get pods -n istio-system NAME READY STATUS RESTARTS AGE grafana-9bdbcc98d-gzntp 1/1 Running 0 23m istio-citadel-6759c5c4d4-7wlnw 1/1 Running 0 23m istio-egressgateway-c7776cf56-zjnx8 1/1 Running 0 23m istio-galley-8544f4ff94-9qj4m 1/1 Running 0 23m istio-grafana-post-install-1.3.3-l989d 0/1 Completed 0 23m istio-ingressgateway-8469cb69c5-kjvkc 1/1 Running 0 23m istio-pilot-748dd866dc-rh25k 2/2 Running 0 23m istio-policy-5c564f5bfb-8hvgc 2/2 Running 1 23m istio-security-post-install-1.3.3-7pp5z 0/1 Completed 0 23m istio-sidecar-injector-59c8999585-lqlj7 1/1 Running 0 23m istio-telemetry-5fc579cb56-sjd9d 2/2 Running 1 23m istio-tracing-6f585d8877-24974 0/1 Running 10 23m kiali-5764f9c44d-c7ftg 1/1 Running 0 23m prometheus-85d75b5f6b-fn7f2 1/1 Running 0 23m 

Bookinfo application

kubectl label ns istio-system istio-injection=disabled kubectl label ns istio-demo istio-injection=enabled kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml 
$ kubectl get pods NAME READY STATUS RESTARTS AGE details-v1-c5b5f496d-p5lr7 1/2 Running 0 98m helloworld-v1-7bb88866c4-hj8m2 2/2 Running 0 108m helloworld-v2-6cd449dff4-mxjwn 1/2 Running 0 108m productpage-v1-c7765c886-tbd2c 2/2 Running 0 98m ratings-v1-f745cf57b-qpthv 2/2 Running 0 98m reviews-v1-75b979578c-6hslt 2/2 Running 0 98m reviews-v2-597bf96c8f-q92v7 2/2 Running 0 98m reviews-v3-54c6c64795-9gc9q 2/2 Running 0 98m 

Top comments (0)