cAdvisor

From wikieduonline
Revision as of 11:40, 31 December 2023 by Welcome (talk | contribs) (→‎Prometheus)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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[edit]

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

Related[edit]

See also[edit]

Advertising: