Changes

Jump to: navigation, search

Metrics and Monitoring in swarm

158 bytes added, 21:57, 2 September 2018
Volume plugin használata
Ehhez elsőként telepítsük föl a Prometheus konténert standalone módban mount nélkül, nézzük meg mi van a '''/etc/prometheus ''' mappában, majd a mappa tartalmát másoljuk át az NFS meghajtóra.
<pre>
docker run -d --name prometheus -p 9090:9090 \
prom/prometheus:v2.3.2
</pre>
A Prometheus image-ben bash nincs, de van sh:
<pre>
# docker exec -it prometheus sh
-rw-r--r-- 1 nobody nogroup 926 Jul 12 15:04 prometheus.yml
</pre>
Láthatjuk, hogy a prometheus.yml mellett még két simlink is található, ezeket is át kell másolni.
<pre>

Navigation menu