Skip to content

Commit

Permalink
Merge pull request rancher#684 from genuss/netdata-cgroups
Browse files Browse the repository at this point in the history
Netdata template cosmetic fixes
  • Loading branch information
chrisurwin authored Dec 4, 2017
2 parents ec125f8 + c88d53d commit 51cb5f0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/netdata/1/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions templates/netdata/1/rancher-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 51cb5f0

Please sign in to comment.