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 -euo pipefail | |
ARGS=( "${@:1}" ) | |
function sendTraffic() | |
{ | |
for CTX in "${ARGS[@]}"; do | |
echo "Sending traffic from cluster $CTX" |
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: Pod | |
metadata: | |
annotations: | |
prometheus.io/path: /stats/prometheus | |
prometheus.io/port: "15020" | |
prometheus.io/scrape: "true" | |
sidecar.istio.io/status: '{"version":"5e54f078d186ad0db07340b20c2f6b00cfac7c859a65bd21f650b3ff62a2eb3d","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null}' | |
creationTimestamp: "2020-10-15T23:34:44Z" | |
generateName: sleep-8f795f47d- |
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 | |
#HUB=gcr.io/istio-testing | |
#TAG=latest | |
echo "HUB=${HUB}" | |
echo "TAG=${TAG}" | |
# Delete Istio in this cluster | |
kubectl delete ns istio-system sample --context=${CTX_CLUSTER1} --ignore-not-found & | |
kubectl delete ns istio-system sample --context=${CTX_CLUSTER2} --ignore-not-found & |
OlderNewer