Skip to content

Commit

Permalink
Add multizone podAntiAffinity for Istio ingressGateways (#1127)
Browse files Browse the repository at this point in the history
* Add multizone podAntiAffinity for Istio ingressGateways

* Add Istiod to zones
  • Loading branch information
werdes72 authored Nov 19, 2024
1 parent b582de0 commit 5dd7b3b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions internal/istiooperator/istio-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ spec:
- istio-ingressgateway
topologyKey: kubernetes.io/hostname
weight: 100
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- istio-ingressgateway
topologyKey: topology.kubernetes.io/zone
weight: 100
hpaSpec:
maxReplicas: 10
metrics:
Expand Down Expand Up @@ -105,6 +114,15 @@ spec:
- istiod
topologyKey: kubernetes.io/hostname
weight: 100
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- istiod
topologyKey: topology.kubernetes.io/zone
weight: 100
env:
- name: PILOT_HTTP10
value: "1"
Expand Down

0 comments on commit 5dd7b3b

Please sign in to comment.