Created
April 17, 2025 17:16
-
-
Save therealmitchconnors/53fe89c49992e026643966bf231505f6 to your computer and use it in GitHub Desktop.
repro script for https://github.com/istio/istio/issues/55372
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
#!/usr/bin/env bash | |
DEVCONTAINER=1 ./prow/integ-suite-kind.sh --skip-build --skip-cleanup | |
kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml | |
mkdir -p out/latest | |
# install 1.22 | |
pushd out/latest | |
rm istioctl | |
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.22.2 sh - | |
cp istio-1.22.2/bin/istioctl istioctl | |
popd | |
./out/latest/istioctl install --set revision=1-22-2 --set profile=demo --skip-confirmation | |
# install 1.24 | |
pushd out/latest | |
rm istioctl | |
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.24.3 sh - | |
cp istio-1.24.3/bin/istioctl istioctl | |
popd | |
./out/latest/istioctl install --set revision=1-24-3 --set profile=demo --skip-confirmation | |
kubectl create namespace bookinfo | |
kubectl apply -n bookinfo -f samples/bookinfo/platform/kube/bookinfo.yaml | |
kubectl apply -n bookinfo -f samples/bookinfo/gateway-api/bookinfo-gateway.yaml | |
sleep 5 | |
./out/latest/istioctl ps # bookinfo gateway ignored - no rev | |
echo "labeling 1.22\n" | |
kubectl label namespace bookinfo istio.io/rev=1-22-2 --overwrite | |
sleep 8 | |
./out/latest/istioctl ps # bookinfo gateways synced rds to 1-22-2 | |
echo "labeling 1.24\n" | |
kubectl label namespace bookinfo istio.io/rev=1-24-3 --overwrite | |
sleep 8 | |
./out/latest/istioctl ps # bookinfo gateways synced rds to 1-24-3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment