feat(promtail): Add node-antiaffinity to avoid outbound deployment
This commit is contained in:
parent
150581388e
commit
b8d830a3b2
@ -26,6 +26,15 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
checksum/config: 807310f261dd2585fdcb196f53c15ad3295af56ceac4869de7beaa331ecc9a3c
|
checksum/config: 807310f261dd2585fdcb196f53c15ad3295af56ceac4869de7beaa331ecc9a3c
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: type
|
||||||
|
operator: NotIn
|
||||||
|
values:
|
||||||
|
- "outbound"
|
||||||
serviceAccountName: loki-promtail
|
serviceAccountName: loki-promtail
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user