Cheat Sheet

Istio tips and tricks.

Quick start

Install latest istioctl.

curl -sL https://istio.io/downloadIstioctl | sh -

Configure PATH`.

export PATH=$PATH:$HOME/.istioctl/bin

Run pre-install check.

istioctl x precheck

Deploy Istio.

istioctl install --set profile=demo

References

https://medium.com/expedia-group-tech/flagger-get-started-with-istio-and-kubernetes-896261c3ed88

Gateway and Virtual Service

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: my-app-gw
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "my-app.com"

References

https://istio.io/latest/docs/ops/best-practices/traffic-management/?_ga=2.51151081.1502515420.1625493144-1378528285.1625493144#split-virtual-services

TLS

References

https://istio.io/latest/docs/reference/config/networking/gateway/

Commands

List routes

Last updated