--- name: istio description: Service mesh installation and configuration examples with authorization policies and traffic routing. --- # istio ```bash curl -L https://istio.io/downloadIstio | sh - cd istio-1.26.3 export PATH=$PWD/bin:$PATH istioctl version istioctl install --set profile=ambient --skip-confirmation ``` ### example ```bash kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.26/samples/bookinfo/platform/kube/bookinfo.yaml kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.26/samples/bookinfo/platform/kube/bookinfo-versions.yaml kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.26/samples/bookinfo/gateway-api/bookinfo-gateway.yaml kubectl annotate gateway bookinfo-gateway networking.istio.io/service-type=ClusterIP --namespace=default kubectl get gateway kubectl port-forward svc/bookinfo-gateway-istio 8080:80 kubectl label namespace default istio.io/dataplane-mode=ambient kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.26/samples/addons/prometheus.yaml kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.26/samples/addons/kiali.yaml istioctl dashboard kiali for i in $(seq 1 100); do curl -sSI -o /dev/null http://localhost:8080/productpage; done kubectl apply -f - <.*" kubectl apply -f - <