diff --git a/cadvisor.daemonset.yaml b/cadvisor.daemonset.yaml index dba8383..470f062 100644 --- a/cadvisor.daemonset.yaml +++ b/cadvisor.daemonset.yaml @@ -54,4 +54,15 @@ spec: path: /sys - name: docker hostPath: - path: /var/lib/docker \ No newline at end of file + path: /var/lib/docker + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app + operator: In + values: + - pool-dop-ykf46 + - pool-dop-ykf4t + topologyKey: "kubernetes.io/hostname" \ No newline at end of file