mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-04 23:30:17 +00:00
Gather less metrics with cadvisor (#56)
* Gather less metrics and disable dynamic housekeeping * Set target to stage
This commit is contained in:
parent
936f988c33
commit
216611aeff
@ -1,5 +1,5 @@
|
||||
{
|
||||
"target": "testnet",
|
||||
"target": "stage",
|
||||
|
||||
"environments": [
|
||||
{
|
||||
|
@ -135,6 +135,7 @@ def do_deploy_cadvisor():
|
||||
name = "--name=cadvisor"
|
||||
ports = "-p 16000:8080"
|
||||
container = "gcr.io/cadvisor/cadvisor:v0.39.3"
|
||||
commands = "--docker_only=true --disable_metrics=diskIO,advtcp,referenced_memory,memory_numa,resctrl,hugetlb,accelerator --store_container_labels=false --allow_dynamic_housekeeping=false --housekeeping_interval=15s --max_housekeeping_interval=30s"
|
||||
|
||||
command = "docker run -d {} {} {} {} {}".format(volumes, devices, name, ports, container)
|
||||
command = "docker stop cadvisor && docker rm cadvisor && docker run -d {} {} {} {} {} {}".format(volumes, devices, name, ports, container, commands)
|
||||
run(command)
|
||||
|
Loading…
Reference in New Issue
Block a user