Skip to content

Commit

Permalink
Use a single replica for both gateways (#2682)
Browse files Browse the repository at this point in the history
Fixes: #2681
  • Loading branch information
mattmoor authored and knative-prow-robot committed Dec 9, 2018
1 parent bcc850c commit 5766863
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ function install_knative_serving() {
# TODO(tcnghia): remove this when https://github.com/istio/istio/issues/882 is fixed.
echo ">> Patching Istio"
kubectl patch hpa -n istio-system istio-ingressgateway --patch '{"spec": {"maxReplicas": 1}}' || return 1
if kubectl get svc -n istio-system knative-ingressgateway > /dev/null 2>&1 ; then
kubectl patch hpa -n istio-system knative-ingressgateway --patch '{"spec": {"maxReplicas": 1}}' || return 1
fi

# There are reports of Envoy failing (503) when istio-pilot is overloaded.
# We generously add more pilot instances here to verify if we can reduce flakes.
Expand Down

0 comments on commit 5766863

Please sign in to comment.