Add docker volume for cgroups name resolving and uts host namespace
This commit is contained in:
parent
685be4d53a
commit
c88d53d0a2
13
templates/netdata/1/docker-compose.yml
Normal file
13
templates/netdata/1/docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
netdata:
|
||||
image: titpetric/netdata:latest
|
||||
labels:
|
||||
io.rancher.scheduler.global: 'true'
|
||||
uts: host
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
NETDATA_PORT: "${NETDATA_PORT}"
|
13
templates/netdata/1/rancher-compose.yml
Normal file
13
templates/netdata/1/rancher-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
.catalog:
|
||||
name: netdata
|
||||
version: v1.8.0
|
||||
description: Real-time performance monitoring, done right!
|
||||
questions:
|
||||
- variable: NETDATA_PORT
|
||||
label: Port
|
||||
description: Container port to access netdata
|
||||
required: true
|
||||
type: int
|
||||
default: 19999
|
||||
netdata:
|
||||
scale: 1
|
Loading…
x
Reference in New Issue
Block a user