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

Fix egress resources #1197

Merged
merged 3 commits into from
Dec 19, 2024
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
18 changes: 11 additions & 7 deletions docs/user/00-15-overview-istio-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,32 @@ The configuration of Istio resources depends on the cluster capabilities. If you
|-----------------|--------------|------------|-----------------|---------------|
| Proxy | 10 m | 250 m | 32 Mi | 254 Mi |
| Ingress Gateway | 10 m | 1000 m | 32 Mi | 1024 Mi |
| Egress Gateway | 10 m | 1000 m | 128 Mi | 1024 Mi |
| Pilot | 50 m | 1000 m | 128 Mi | 1024 Mi |
| CNI | 10 m | 250 m | 128 Mi | 384 Mi |

### Default Resource Configuration for Larger Clusters

| Component | CPU Requests | CPU Limits | Memory Requests | Memory Limits |
|-----------------|--------------|------------|-----------------|---------------|
| Proxy | 10m | 1000m | 192Mi | 1024Mi |
| Ingress Gateway | 100m | 2000m | 128Mi | 1024Mi |
| Pilot | 100m | 4000m | 512Mi | 2Gi |
| CNI | 100m | 500m | 512Mi | 1024Mi |
| Proxy | 10 m | 1000 m | 192 Mi | 1024 Mi |
| Ingress Gateway | 10 m | 1000 m | 32 Mi | 1024 Mi |
| Egress Gateway | 10 m | 2000 m | 128 Mi | 1024 Mi |
| Pilot | 100 m | 4000 m | 512 Mi | 2 Gi |
| CNI | 100 m | 500 m | 512 Mi | 1024 Mi |

### Default Autoscaling Configuration for Smaller Clusters

| Component | minReplicas | maxReplicas |
|-----------------|-------------|-------------|
| Ingress Gateway | 1 | 1 |
| Egress Gateway | 1 | 1 |
| Pilot | 1 | 1 |

### Default Autoscaling Configuration for Larger Clusters

| Component | minReplicas | maxReplicas |
|-----------------|--------------|--------------|
| Ingress Gateway | 3 | 10 |
| Pilot | 2 | 5 |
|-----------------|-------------|-------------|
| Ingress Gateway | 3 | 10 |
| Egress Gateway | 3 | 10 |
| Pilot | 2 | 5 |
4 changes: 2 additions & 2 deletions internal/istiooperator/istio-operator-light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ spec:
minReplicas: 1
resources:
limits:
cpu: 2000m
cpu: 1000m
memory: 1024Mi
requests:
cpu: 10m
memory: 120Mi
memory: 128Mi
name: istio-egressgateway
ingressGateways:
- enabled: true
Expand Down
2 changes: 1 addition & 1 deletion internal/istiooperator/istio-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
memory: 1024Mi
requests:
cpu: 10m
memory: 120Mi
memory: 128Mi
hpaSpec:
maxReplicas: 10
scaleTargetRef:
Expand Down
Loading