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
apiVersion: networking.istio.io/v1alpha3 | |
kind: Gateway | |
metadata: | |
name: bookinfo-gateway | |
spec: | |
selector: | |
istio: ingressgateway # use istio default controller | |
servers: | |
- port: | |
number: 443 |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: tornado | |
labels: | |
app: tornado | |
spec: | |
ports: | |
- port: 8888 | |
name: http |
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 | |
# Script to cleanup leftovers after invoking `helm del --purge istio` | |
protos=( all cm secrets sa clusterrolebinding clusterrole crd ) | |
for proto in "${protos[@]}"; do | |
for resource in $(kubectl get $proto -n istio-system | grep istio | awk 'NR>1{print $1}'); do | |
kubectl delete $proto $resource -n istio-system | |
done | |
done |