Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable autoscale for Istio gateways in E2E tests #5064

Merged
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions third_party/istio-1.1.7/istio-lean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ metadata:
app: cluster-local-gateway
istio: cluster-local-gateway
spec:
replicas: 1
replicas: 2
template:
metadata:
labels:
Expand Down Expand Up @@ -980,8 +980,8 @@ metadata:
heritage: Tiller
release: release-name
spec:
maxReplicas: 1
minReplicas: 1
maxReplicas: 4
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1beta1
kind: Deployment
Expand Down
6 changes: 3 additions & 3 deletions third_party/istio-1.1.7/istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ metadata:
app: cluster-local-gateway
istio: cluster-local-gateway
spec:
replicas: 1
replicas: 2
template:
metadata:
labels:
Expand Down Expand Up @@ -2912,8 +2912,8 @@ metadata:
heritage: Tiller
release: release-name
spec:
maxReplicas: 1
minReplicas: 1
maxReplicas: 4
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1beta1
kind: Deployment
Expand Down
11 changes: 6 additions & 5 deletions third_party/istio-1.1.7/values-lean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ gateways:
enabled: true
sds:
enabled: true
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources:
limits:
cpu: 3000m
Expand All @@ -39,9 +40,9 @@ gateways:
labels:
app: cluster-local-gateway
istio: cluster-local-gateway
replicaCount: 1
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources: {}
cpu:
targetAverageUtilization: 80
Expand Down
11 changes: 6 additions & 5 deletions third_party/istio-1.1.7/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ gateways:
enabled: true
sds:
enabled: true
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources:
limits:
cpu: 3000m
Expand All @@ -35,9 +36,9 @@ gateways:
labels:
app: cluster-local-gateway
istio: cluster-local-gateway
replicaCount: 1
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources: {}
cpu:
targetAverageUtilization: 80
Expand Down
6 changes: 3 additions & 3 deletions third_party/istio-1.2.0/istio-lean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ metadata:
app: cluster-local-gateway
istio: cluster-local-gateway
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app: cluster-local-gateway
Expand Down Expand Up @@ -927,8 +927,8 @@ metadata:
app: istio-ingressgateway
istio: ingressgateway
spec:
maxReplicas: 1
minReplicas: 1
maxReplicas: 4
minReplicas: 2
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
8 changes: 4 additions & 4 deletions third_party/istio-1.2.0/istio.yaml

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions third_party/istio-1.2.0/values-lean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ gateways:
enabled: true
sds:
enabled: true
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources:
limits:
cpu: 3000m
Expand All @@ -40,9 +41,9 @@ gateways:
labels:
app: cluster-local-gateway
istio: cluster-local-gateway
replicaCount: 1
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources: {}
cpu:
targetAverageUtilization: 80
Expand Down
11 changes: 6 additions & 5 deletions third_party/istio-1.2.0/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ gateways:
enabled: true
sds:
enabled: true
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources:
limits:
cpu: 3000m
Expand All @@ -36,9 +37,9 @@ gateways:
labels:
app: cluster-local-gateway
istio: cluster-local-gateway
replicaCount: 1
autoscaleMin: 1
autoscaleMax: 1
replicaCount: 2
autoscaleMin: 2
autoscaleMax: 4
resources: {}
cpu:
targetAverageUtilization: 80
Expand Down