Skip to content

Commit

Permalink
Fix egress resources (kyma-project#1197)
Browse files Browse the repository at this point in the history
* Fix egress resources

* Fix manager
  • Loading branch information
werdes72 authored and nataliasitko committed Dec 27, 2024
1 parent 77b79e0 commit 7d04714
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
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

0 comments on commit 7d04714

Please sign in to comment.