Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion setup/manifests/install_istio_1.14.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function log_red() { echo -e "${RED}$@${NC}"; }
[[ -z "${ISTIOCTL}" ]] && log_red "Missing ISTIOCTL env var." && exit 1

log_cyan "Installing Istio control plane..."
kubectl get namespace istio-system || kubectl create ns istio-system
${ISTIOCTL} manifest generate --set profile=default | kubectl apply -f -
## wait for EnvoyFilter crd to be ready and reapply
sleep 60
Expand All @@ -41,4 +42,4 @@ until [[ -n $(kubectl get crd gateways.networking.istio.io -oname 2>/dev/null) ]
until [[ -n $(kubectl get crd virtualservices.networking.istio.io -oname 2>/dev/null) ]]; do sleep 2; done
log_cyan "Istio control plane crds are ready"
kubectl annotate svc istio-ingressgateway cloud.google.com/neg='{"exposed_ports": {"80":{}}}' -n istio-system --overwrite
kubectl annotate svc istio-ingressgateway anthos.cft.dev/autoneg='{"name":"istio-ingressgateway", "max_rate_per_endpoint":100}' -n istio-system --overwrite
kubectl annotate svc istio-ingressgateway anthos.cft.dev/autoneg='{"name":"istio-ingressgateway", "max_rate_per_endpoint":100}' -n istio-system --overwrite