Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updated extension yaml files to work with the latest cadvisor v0.49.1 #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions extension/docker-compose-browser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
# The extension's UI/Backend
docketeer:
Expand Down Expand Up @@ -30,21 +28,27 @@ services:
- memcached

cadvisor:
# Must use cadvisor v0.47.1 instead of latest, latest does not work for macOS
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.47.1
image: gcr.io/cadvisor/cadvisor:v0.47.1
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.49.1
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: docketeer-ext-cadvisor
expose:
- 8080
ports:
- 49158:8080
volumes:
# Applies the bind mounts in ro (read only) and rw (read write) to be able to scrape containers
- /:/rootfs:ro
- /var/run/docker.sock:/var/run/docker.sock:rw
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/machine-id:/etc/machine-id:ro
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:ro
- /:/rootfs:ro
- /dev/disk/:/dev/disk:ro
privileged: true
restart: unless-stopped
devices:
- /dev/kmsg

# Collects additional metrics that are then sent to prometheus
node-exporter:
Expand Down
18 changes: 11 additions & 7 deletions extension/docker-compose-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
# The extension's UI/Backend
docketeer:
Expand All @@ -21,21 +19,27 @@ services:


cadvisor:
# Must use cadvisor v0.47.1 instead of latest, latest does not work for macOS
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.47.1
image: gcr.io/cadvisor/cadvisor:v0.47.1
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.49.1
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: docketeer-ext-cadvisor
expose:
- 8080
ports:
- 49158:8080
volumes:
# Applies the bind mounts in ro (read only) and rw (read write) to be able to scrape containers
- /:/rootfs:ro
- /var/run/docker.sock:/var/run/docker.sock:rw
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/machine-id:/etc/machine-id:ro
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:ro
- /:/rootfs:ro
- /dev/disk/:/dev/disk:ro
privileged: true
restart: unless-stopped
devices:
- /dev/kmsg

# Collects additional metrics that are then sent to prometheus
node-exporter:
Expand Down
19 changes: 12 additions & 7 deletions extension/docker-compose-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
# The extension's UI/Backend
docketeer:
Expand All @@ -18,19 +16,26 @@ services:
- memcached

cadvisor:
# Must use cadvisor v0.47.1 instead of latest, latest does not work for macOS
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.47.1
image: gcr.io/cadvisor/cadvisor:v0.47.1
# The docketeer image uploaded is on gcr.io/cadvisor/cadvisor:v0.49.1
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: docketeer-ext-cadvisor
expose:
- 8080
volumes:
# Applies the bind mounts in ro (read only) and rw (read write) to be able to scrape containers
- /:/rootfs:ro
- /var/run/docker.sock:/var/run/docker.sock:rw
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/machine-id:/etc/machine-id:ro
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id:ro
- /:/rootfs:ro
- /dev/disk/:/dev/disk:ro
privileged: true
restart: unless-stopped
devices:
- /dev/kmsg

# Collects additional metrics that are then sent to prometheus
node-exporter:
image: prom/node-exporter:v1.6.1
Expand Down