コンテンツにスキップ

Istioのインストール

https://istio.io/latest/docs/setup/getting-started/

(1) Download Istio

curl -L https://istio.io/downloadIstio | sh -
cd istio-1.13.2

(2) Add PATH

Add the line to end of file in $HOME/.bashrc

export PATH=$HOME/istio-1.13.2/bin:$PATH

(3) Install Istio

istioctl install --set profile=default -y --set meshConfig.accessLogFile=/dev/stdout

This command uses the default profile. Default profile installs istio-ingressgateway and istiod.

Difference between default and demo is described as follows.

https://istio.io/latest/docs/setup/additional-setup/config-profiles/

(4) Set labels to namespace

Add a lable istio-injection=enabled to namespace author

kubectl label namespace author istio-injection=enabled

Confirm label settings

kubectl get namespace -L istio-injection