Skip to content

Commit

Permalink
Update statefullset-profisee.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Mar 20, 2024
1 parent 59925d2 commit c7546df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions profisee-platform/templates/statefullset-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ spec:
terminationGracePeriodSeconds: 60
serviceAccountName: profiseeserviceaccount
automountServiceAccountToken: false
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app: profisee
topologyKey: "kubernetes.io/hostname"
nodeSelector:
{{- if .Values.cloud.azure.isProvider }}
{{ if hasSuffix "win22" .Values.image.tag }}
Expand Down

0 comments on commit c7546df

Please sign in to comment.