This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Description
The second cat command is missing the apiVersion line.
Should be:
cat <<EOF | kubectl apply -f -
apiVersion: networking.istio.io/v1alpha3
Also, in the current version of Istio, we need to run:
kubectl apply -f samples/bookinfo/networking/virtual-service-all-v1.yaml -n default
kubectl apply -f samples/bookinfo/networking/destination-rule-all-mtls.yaml -n default
instead of
kubectl apply -f samples/bookinfo/routing/route-rule-all-v1-mtls.yaml -n default