Istio

Create the cluster

gcloud services enable container.googleapis.com && \
gcloud container clusters create <cluster-name> \
  --cluster-version latest \
  --machine-type=n1-standard-2 \
  --num-nodes 4 \
  --zone europe-west1-c \
  --project <project> \
  --enable-network-policy

Retrieve credentials

gcloud container clusters get-credentials <cluster-name> \
  --zone europe-west1-c \
  --project <project>

Retrieve istioctl

curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.8.2 TARGET_ARCH=x86_64 sh -

Install istio operator

./istio-1.8.2/bin/istioctl operator init

Install Istio with the istio CNI plugin

cat <<EOF > istio-cni.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  components:
    cni:
      enabled: true
  values:
    cni:
      excludeNamespaces:
       - istio-system
       - kube-system
      logLevel: info
EOF

./istio-1.8.2/bin/istioctl install -f istio-cni.yaml

Install Kkiali to visualize the mesh

kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/kiali.yaml

note: if fails, run it again.

To open the dashboard

./istio-1.8.2/bin/istioctl dashboard kiali