Istio

Istio #

More information about Istio can be found at Istio quick start.

Set up Cluster #

kwokctl create cluster --runtime kind

Create Node #

kubectl apply -f https://kwok.sigs.k8s.io/examples/node.yaml

Deploy Istio #

istioctl install -y

Migrate Controllers to Real Node #

kubectl patch deploy istiod -n istio-system --type=json -p='[{"op":"add","path":"/spec/template/spec/nodeName","value":"kwok-kwok-control-plane"}]'
kubectl patch deploy istio-ingressgateway -n istio-system --type=json -p='[{"op":"add","path":"/spec/template/spec/nodeName","value":"kwok-kwok-control-plane"}]'

Create Pod and Inject Sidecar #

kubectl label namespace default istio-injection=enabled
kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml