Skip to content

Commit

Permalink
fix(daemonset): add disk volume to cadvisor
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeptossss committed Oct 17, 2023
1 parent a72bcbc commit b425ec4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cadvisor.daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ spec:
- name: docker
mountPath: /var/lib/docker
readOnly: true
- name: disk
mountPath: /dev/disk
readOnly: true
ports:
- name: http
containerPort: 8080
Expand All @@ -55,6 +58,9 @@ spec:
- name: docker
hostPath:
path: /var/lib/docker
- name: disk
hostPath:
path: /dev/disk
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit b425ec4

Please sign in to comment.