Moved node-exporter to host network.
This commit is contained in:
parent
786724ae8d
commit
ab5df120ff
1 changed files with 1 additions and 18 deletions
|
@ -16,23 +16,6 @@ set container name cloudflare-ddns memory '0'
|
||||||
set container name cloudflare-ddns restart 'on-failure'
|
set container name cloudflare-ddns restart 'on-failure'
|
||||||
set container name cloudflare-ddns shared-memory '0'
|
set container name cloudflare-ddns shared-memory '0'
|
||||||
|
|
||||||
# # coredns - main instance
|
|
||||||
# set container name coredns cap-add 'net-bind-service'
|
|
||||||
# set container name coredns image 'docker.io/coredns/coredns:1.10.1'
|
|
||||||
# set container name coredns memory '0'
|
|
||||||
# set container name coredns network services address '10.5.0.3'
|
|
||||||
# set container name coredns restart 'on-failure'
|
|
||||||
# set container name coredns shared-memory '0'
|
|
||||||
# set container name coredns volume config destination '/config'
|
|
||||||
# set container name coredns volume config source '/config/containers/coredns/config'
|
|
||||||
# set container name coredns volume config mode 'ro'
|
|
||||||
# set container name coredns volume corefile destination '/Corefile'
|
|
||||||
# set container name coredns volume corefile source '/config/containers/coredns/config/Corefile'
|
|
||||||
# set container name coredns volume corefile mode 'ro'
|
|
||||||
# set container name coredns volume vyoshosts destination '/host/etc/hosts'
|
|
||||||
# set container name coredns volume vyoshosts source '/etc/hosts'
|
|
||||||
# set container name coredns volume vyoshosts mode 'ro'
|
|
||||||
|
|
||||||
# bind
|
# bind
|
||||||
set container name bind cap-add 'net-bind-service'
|
set container name bind cap-add 'net-bind-service'
|
||||||
set container name bind image 'docker.io/internetsystemsconsortium/bind9:9.19'
|
set container name bind image 'docker.io/internetsystemsconsortium/bind9:9.19'
|
||||||
|
@ -76,7 +59,7 @@ set container name node-exporter environment rootfs value '/host/rootfs'
|
||||||
set container name node-exporter environment sysfs value '/host/sys'
|
set container name node-exporter environment sysfs value '/host/sys'
|
||||||
set container name node-exporter image 'quay.io/prometheus/node-exporter:v1.5.0'
|
set container name node-exporter image 'quay.io/prometheus/node-exporter:v1.5.0'
|
||||||
set container name node-exporter memory '0'
|
set container name node-exporter memory '0'
|
||||||
set container name node-exporter network services address '10.5.0.7'
|
set container name node-exporter allow-host-networks
|
||||||
set container name node-exporter restart 'on-failure'
|
set container name node-exporter restart 'on-failure'
|
||||||
set container name node-exporter shared-memory '0'
|
set container name node-exporter shared-memory '0'
|
||||||
set container name node-exporter volume procfs source '/proc'
|
set container name node-exporter volume procfs source '/proc'
|
||||||
|
|
Reference in a new issue