diff --git a/monitoring/promtail/daemonset.yaml b/monitoring/promtail/daemonset.yaml index 8583d39..ec36318 100644 --- a/monitoring/promtail/daemonset.yaml +++ b/monitoring/promtail/daemonset.yaml @@ -26,6 +26,15 @@ spec: annotations: checksum/config: 807310f261dd2585fdcb196f53c15ad3295af56ceac4869de7beaa331ecc9a3c spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: type + operator: NotIn + values: + - "outbound" serviceAccountName: loki-promtail securityContext: runAsGroup: 0