summaryrefslogtreecommitdiffstats
path: root/roles/kubernetes_kubelet/templates/cadvisor.manifest
blob: 064803cbe5d4f4e6dbf98b50a640f0bb985c901a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: v1beta2
id: cadvisor-agent
containers:
  - name: cadvisor
    image: google/cadvisor:latest
    ports:
      - name: http
        containerPort: 8080
        hostPort: 4194
    volumeMounts:
      - name: varrun
        mountPath: /var/run
        readOnly: false
      - name: varlibdocker
        mountPath: /var/lib/docker
        readOnly: true
      - name: cgroups
        mountPath: /sys/fs/cgroup
        readOnly: true
volumes:
  - name: varrun
    source:
      hostDir:
        path: /var/run
  - name: varlibdocker
    source:
      hostDir:
        path: /var/lib/docker
  - name: cgroups
    source:
      hostDir:
        path: /sys/fs/cgroup