TECH BASICS, CODEX

Getting Started with Service Mesh and Istio

Arun Kumar Singh
Jan 11 · 8 min read
Service Mesh and Istio
Service Mesh and Istio
Service Mesh and Istio

Part-1: Communication

Part-2: Monolithic Applications

Part-3: Microservices based Architecture

Image for post
Image for post
Microservice

Part-4: Service Mesh

Part-5: Istio

Part-6: Istio Architecture

> — — — — — — Control Plane Components— — — — — -<

You would have heard about Mixer component as well. Mixer has been deprecated now. The functionality provided by Mixer has been moved into the Envoy proxies. Use of Mixer with Istio will only be supported through the 1.7 release of Istio.

Image for post
Image for post
Istio control plane

> — — — — — — Data Plane Components — — — — — -<

Image for post
Image for post
Data Plane and Control Plane

Part-7: Istio Installation

arun@ubuntu:~/istio$ ISTIO_VERSION=1.7.3
arun@ubuntu:~/istio$
arun@ubuntu:~/istio$ curl -sL "https://github.com/istio/istio/releases/download/$ISTIO_VERSION/istioctl-$ISTIO_VERSION-linux-amd64.tar.gz" | tar xz
arun@ubuntu:~/istio$ sudo mv ./istioctl /usr/local/bin/istioctl
arun@ubuntu:~/istio$ sudo chmod +x /usr/local/bin/istioctl
arun@ubuntu:~/istio$
arun@ubuntu:~/istio$ istioctl operator init
Image for post
Image for post
istioctl
Image for post
Image for post

Istio components Deployment

Image for post
Image for post
Istio profile image from Istio documentation
arun@ubuntu:~/istio$ istioctl profile list
arun@ubuntu:~/istio$ istioctl profile dump default > profile.yaml
#istio_default.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
name: istio-cp
spec:
profile: default
addonComponents:
grafana:
enabled: true
prometheus:
enabled: true
tracing:
enabled: true
kiali:
enabled: true
values:
kiali:
dashboard:
auth:
strategy: anonymous
arun@ubuntu:~/istio$ kubectl create ns istio-systemarun@ubuntu:~/istio$ kubectl apply -f istio_default.yaml -n istio-system
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
arun@ubuntu:~/istio$ istioctl dashboard grafana
Image for post
Image for post
Image for post
Image for post
kubectl delete istiooperator istio-cp -n istio-system
istioctl operator remove
kubectl delete ns istio-system
kubectl delete ns istio-operator

CodeX

Everything connected with Code & Tech!

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store