diff --git a/k8s/templates/web.yaml b/k8s/templates/web.yaml
index cbe8a529425145b6273752af5a429974b325c33f..8bcaeacc109fb3bcc9695f2371abb8554e20d1fa 100644
--- a/k8s/templates/web.yaml
+++ b/k8s/templates/web.yaml
@@ -12,6 +12,13 @@ spec:
       labels:
         app: {{ .Release.Name }}-web
     spec:
+      affinity:
+        podAffinity:
+          requiredDuringSchedulingIgnoredDuringExecution:
+            - labelSelector:
+                matchLabels:
+                  app: {{ .Release.Name }}-web
+              topologyKey: kubernetes.io/hostname
       strategy: RollingUpdate
       imagePullSecrets:
         - name: {{ .Values.web.imagePullSecretName }}