felipemeamaral / fc3-istio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service Mesh with Istio

Setup on k3d custer

To be able to use istio, you have to create a kubernetes cluster

  • We're going to use k3d as a tool to help to automate the process
brew install k3d

Now you need to create the cluster itself

k3d cluster create -p "8000:30000@loadbalancer" --agents 2

Install istioctl on Homebrew

brew install istioctl

Install istio on Kubernetes cluster

istioctl install

Press Y to advance with the default installation.

Install a new test deployment

kubectl apply -f deployment.yaml

Set istio to set label on namespace default

kubectl label namespace default istio-injection=enabled

Run a describe inside the new pod to istio being injected into it automatically

kubectl describe pods nginx[TAB]

Install istio addons (Grafana, Jaeger, Kiali and Prometheus)

kubectl apply -f ADDON_NAME.yaml

To see the dashboard run this command on Terminal

istioctl dashboard [grafana,jaeger,kiali,prometheus]

About