Ihre Browserversion ist veraltet. Wir empfehlen, Ihren Browser auf die neueste Version zu aktualisieren.

Setting up Helm, Istio and Quarkus demo

These are my personal notes on setting up Helm, Istio and configuring security with Keycloak/OIDC. I ran this demo through Katacode Istio Pages. Start the k8s cluster through the launch button and continue down here. 

Setting up Helm

  • curl -LO https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz
  • tar -xvf helm-v2.8.2-linux-amd64.tar.gz
  • mv linux-amd64/helm /usr/local/bin/
  • helm init
  • helm repo update

 Setting up Istio

  • curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.1.2 sh
  • export PATH="$PATH:/root/istio-1.1.2/bin"
  • cd /root/istio-1.1.2
  • istioctl version
  • kubectl create namespace istio-system
  • helm template install/kubernetes/helm/istio --name istio --set global.mtls.enabled=false --set tracing.enabled=true --set kiali.enabled=true --set grafana.enabled=true --namespace istio-system > istio.yaml
  • kubectl apply -f istio.yaml
  • watch kubectl get pods -n istio-system

Install demo APP

  • cd /root
  • git clone https://github.com/agilesolutions/charts-istio.git
  • cd charts-istio/charts
  • helm lint productpage/
  • helm template productpage/ > productpage.yaml
  • helm install productpage/

Setup Kiali, Grafana & Jaeger

  • kubectl port-forward $(kubectl get pod -n istio-system -l app=kiali -o jsonpath='{.items[0].metadata.name}') -n istio-system 2000
  • http://localhost:20001/
  • kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=grafana -o jsonpath='{.items[0].metadata.name}') 3000
  • On the top left click the menu Home and select Istio Service Dashboard and on the top left corner select the service starting with productpage
  • kubectl port-forward -n istio-system $(kubectl get pod -n istio-system -l app=jaeger -o jsonpath='{.items[0].metadata.name}') 16686
  • Goto http://localhost:16686, select the productpage service

About demo APP

I took the Istio bookstore example and moved all the components to MicroProfile and Quarkus native java, resulting in this repo and more.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Docu

Hosted by WEBLAND.CH