Browse Source

Mount libpod container volume into collectd container

The collectd-libpod-stats plugin requires additional libpod volumes to
be mounted into the collectd contianer in order to find and track running
containers. This mounts the only additional volume necessary

Change-Id: I0f3fb05d8295f8707ad041debb250f255d20626f
Signed-off-by: pleimer <pfbleimer@gmail.com>
(cherry picked from commit fdf8738614)
changes/81/750781/1
pleimer 1 year ago
committed by Paul Leimer
parent
commit
19de5e8cef
  1. 1
      deployment/metrics/collectd-container-puppet.yaml

1
deployment/metrics/collectd-container-puppet.yaml

@ -657,6 +657,7 @@ outputs:
- {get_attr: [ContainersCommon, volumes]}
-
- /var/lib/kolla/config_files/collectd.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/containers/storage/overlay-containers:/var/lib/containers/storage/overlay-containers:ro
- /var/lib/config-data/puppet-generated/collectd:/var/lib/kolla/config_files/src:ro
- /var/log/containers/collectd:/var/log/collectd:rw,z
- /var/run/:/var/run:rw

Loading…
Cancel
Save