ceph bench module hotfixes after client run

  Related-PROD: PROD-37028

Change-Id: Ied20709e367877ca0be1c9bd531476070059de10
diff --git a/templates/cfgagent-template.yaml b/templates/cfgagent-template.yaml
index 3cd7e59..e93ccb8 100644
--- a/templates/cfgagent-template.yaml
+++ b/templates/cfgagent-template.yaml
@@ -1,3 +1,4 @@
+
 apiVersion: v1
 kind: Pod
 metadata:
@@ -7,6 +8,18 @@
     name: cfgagent-xx
     app: cfgagent
 spec:
+  affinity:
+    podAntiAffinity:
+      preferredDuringSchedulingIgnoredDuringExecution:
+      - weight: 100
+        podAffinityTerm:
+          labelSelector:
+            matchExpressions:
+            - key: app
+              operator: In
+              values:
+              - cfgagent
+          topologyKey: kubernetes.io/hostname
   containers:
   - command:
     - checker-agent
@@ -23,3 +36,4 @@
   - name: cfgagent-pv
     persistentVolumeClaim:
       claimName: cfgagent-pvc-placeholder
+