Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
staging: add pod anti affinity rule to avoid running ipfs-gateway on …
Browse files Browse the repository at this point in the history
…the same node as the nfs server
  • Loading branch information
skylenet committed Oct 13, 2023
1 parent 1454d4b commit 1a11dd3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion environments/staging/applications/ipfs-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ ipfs-cluster:
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: kubernetes.io/hostname
labelSelector:
matchLabels:
release: nfs-server-provisioner-xfs # Avoid running the IPFS node on the same node as the nfs server
storage:
storageClassName: "do-block-storage-xfs"
volumeSize: "100Gi"
Expand Down

0 comments on commit 1a11dd3

Please sign in to comment.