Difference between revisions of "CAdvisor"

From wikieduonline
Jump to navigation Jump to search
Line 25: Line 25:
 
* [[cAdvisor releases]]
 
* [[cAdvisor releases]]
 
* [[Prometheus node exporter]]
 
* [[Prometheus node exporter]]
 +
* [[9323]] [[dockerd]]
  
 
== See also ==
 
== See also ==

Revision as of 11:40, 31 December 2023

wikipedia:cAdvisor (Container Advisor) It is a running daemon that collects, aggregates, processes, and exports information about running containers.


E1124 11:43:23.882646    2159 cadvisor_stats_provider.go:415] "Partial failure issuing cadvisor.ContainerInfoV2" err="partial failures: [\"/kubepods/besteffort/pod57eb9fcd-e4c3-4b91-92bd-f1205c1915b8\": RecentStats: unable to find data in memory cache], [\"/kubepods/besteffort/podc89e8745-e50b-482c-bb11-1d87cd4f63e7\": RecentStats: unable to find data in memory cache ]"


docker run --volume=/:/rootfs:ro --volume=/var/run:/var/run:ro --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --publish=8080:8080 --detach=true --name=cadvisor --privileged --device=/dev/kmsg gcr.io/cadvisor/cadvisor:v0.47.0

Prometheus

- job_name: 'cadvisor'
  scrape_interval: 5s
  static_configs:
    - targets: ['cadvisor:8080']

Related

See also

Advertising: