In the following part of the catalogue, I use confd in the -config image.
I copied that more or less from the elasticsearch example and am trying to sort things out…
To start I have a couple of questions:
- What is the role of net: “container:telegraf-config” ? Can I drop it?
- Can be confirmed, that the deployment unit concept is responsible for that custom metadata, while defined only on telegraf service is shared with telegraf-config service?
telegraf-config:
image: registry.devco.co/telegraf-config:1.0.0
telegraf:
net: "container:telegraf-config"
image: registry.devco.co/telegraf:1.0.0-beta3-alpine
volumes_from:
- telegraf-config
links:
- influxdb
ports:
- "8092:8092/udp"
- "8094:8094"
- "8125:8125/udp"
labels:
io.rancher.scheduler.global: 'true'
io.rancher.sidekicks: telegraf-config