Skip to content

Commit

Permalink
fix: pod anti affinity spans all namespaces (#10475)
Browse files Browse the repository at this point in the history
also grant anti-affinity to the prover node/broker.
  • Loading branch information
just-mitch authored Dec 7, 2024
1 parent fca9600 commit 2d4dc3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spartan/aztec-network/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ affinity:
values:
- validator
- boot-node
- prover
- prover-node
- prover-broker
topologyKey: "kubernetes.io/hostname"
namespaceSelector: {}
{{- end -}}
1 change: 1 addition & 0 deletions spartan/aztec-network/templates/prover-broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
{{- if .Values.network.public }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
{{- include "aztec-network.publicAntiAffinity" . | nindent 6 }}
{{- end }}
volumes:
- name: config
Expand Down

0 comments on commit 2d4dc3d

Please sign in to comment.