diff --git a/operator/gitops/argocd/pipeline-service/tekton-results/watcher-config.yaml b/operator/gitops/argocd/pipeline-service/tekton-results/watcher-config.yaml index d240551a2..60cac6c36 100644 --- a/operator/gitops/argocd/pipeline-service/tekton-results/watcher-config.yaml +++ b/operator/gitops/argocd/pipeline-service/tekton-results/watcher-config.yaml @@ -10,6 +10,23 @@ spec: replicas: 1 template: spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/os + operator: NotIn + values: + - windows + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/name: tekton-results-watcher + topologyKey: kubernetes.io/hostname + weight: 100 containers: - name: watcher args: