Created
August 21, 2025 15:48
-
-
Save neowulf/8e85b6f433b4d4d93280bb6c1a78b584 to your computer and use it in GitHub Desktop.
Istio Scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eoux pipefail | |
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| kind create cluster --name tkr-ingress-helm --wait 1m || true | |
| helm repo add istio https://istio-release.storage.googleapis.com/charts | |
| helm repo update | |
| helm upgrade --install istio-base istio/base -n istio-system --create-namespace --wait --version 1.27.0 | |
| helm upgrade --install istio-cni istio/cni -n istio-system --create-namespace --wait --version 1.27.0 | |
| helm upgrade --install istio-istiod istio/istiod -n istio-system --create-namespace --wait --version 1.27.0 \ | |
| --set pilot.cni.enabled=true | |
| kubectl create namespace bookinfo --dry-run=client -o yaml | kubectl apply -f- | |
| kubectl label namespace bookinfo istio-injection=enabled | |
| BOOKINFO="https://raw.githubusercontent.com/istio/istio/refs/heads/release-1.27/" | |
| kubectl apply -f ${BOOKINFO}/samples/bookinfo/platform/kube/bookinfo.yaml -n bookinfo | |
| # TODO: install MetalLB or use NodePort gateway | |
| # kubectl apply -f ${BOOKINFO}/samples/bookinfo/gateway-api/bookinfo-gateway.yaml -n bookinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment