Skip to content

Commit

Permalink
fix(daemonset): replicate daemonset to all nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeptossss committed Oct 16, 2023
1 parent 5b699f4 commit a72bcbc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion cadvisor.daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,15 @@ spec:
path: /sys
- name: docker
hostPath:
path: /var/lib/docker
path: /var/lib/docker
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- pool-dop-ykf46
- pool-dop-ykf4t
topologyKey: "kubernetes.io/hostname"

0 comments on commit a72bcbc

Please sign in to comment.