Skip to content

Commit

Permalink
fix: remove podAffinityTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
hasakura12 committed Aug 30, 2024
1 parent c5f69cc commit d17a8d0
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions k8s/relayer/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -34,15 +34,13 @@ spec:
{{- if .Values.affinity.antiAffinity }}
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- {{ .Values.name }}
topologyKey: {{ .Values.affinity.antiAffinity.topologyKey }}
# weight: {{ .Values.affinity.antiAffinity.weight }} # weight is only for podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- {{ .Values.name }}
topologyKey: {{ .Values.affinity.antiAffinity.topologyKey }}
{{- end }}
{{- if .Values.affinity_tolerations.enable }}
nodeAffinity:

0 comments on commit d17a8d0

Please sign in to comment.