{"id":20334852,"url":"https://github.com/integrii/cadvisor-daemonset","last_synced_at":"2025-08-31T21:33:34.154Z","repository":{"id":151949438,"uuid":"120714570","full_name":"integrii/cadvisor-daemonset","owner":"integrii","description":"A kubernetes daemonset for cadvisor which exposes a web interface on every node.","archived":false,"fork":false,"pushed_at":"2018-07-02T03:41:45.000Z","size":332,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T09:51:08.913Z","etag":null,"topics":["cadvisor","daemonset","kubernetes"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/integrii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-08T05:19:12.000Z","updated_at":"2019-06-29T13:26:49.000Z","dependencies_parsed_at":"2023-09-11T01:33:03.266Z","dependency_job_id":null,"html_url":"https://github.com/integrii/cadvisor-daemonset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integrii%2Fcadvisor-daemonset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integrii%2Fcadvisor-daemonset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integrii%2Fcadvisor-daemonset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/integrii%2Fcadvisor-daemonset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/integrii","download_url":"https://codeload.github.com/integrii/cadvisor-daemonset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487733,"owners_count":21112188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cadvisor","daemonset","kubernetes"],"created_at":"2024-11-14T20:38:25.045Z","updated_at":"2025-04-11T21:51:20.652Z","avatar_url":"https://github.com/integrii.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cadvisor-daemonset\n\nThis is a daemonset for cadvisor which deploys a [cAdvisor](https://github.com/google/cadvisor) web interface to every node.  Metrics for pods are updated by cAdvisor every second and are available programmatically via the [cadvisor API](https://github.com/google/cadvisor/blob/master/docs/api.md).  This is a much higher metric frequency that normally available in Kubernetes.\n\nThis kind of daemonset is a great way to get up to the second metrics off of their pods.\n\n#### `externalTrafficPolicy: Local`\n\nThe service configuration is set to use `externalTrafficPolicy: Local`, which means that queries sent to the cluster service (`cadvisor.kube-system.svc.cluster.local`) **ARE NOT** routed to other nodes.\n\nAll queries from pods or from external sources are handled by the cAdvisor daemonset pod running on the node handling the request.  Also, because cAdvisor is not cluster-aware, this means that you can not query statistics for pods from sources outside of the node running the pod.\n\nThis kind of setup is designred for a sidecar that fetches its own pod's metrics rapidly (once a second).  All the service has to do in this case is to query the cluster service and it will always hit the cAdvisor daemonset on its own node!\n\n#### Installation\n\n`kubectl apply -f https://raw.githubusercontent.com/integrii/cadvisor-daemonset/master/cadvisor-daemonset.yaml`  \n\n\n![cadvisor web](https://github.com/integrii/cadvisor-daemonset/blob/master/cadvisor-web.png?raw=true)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegrii%2Fcadvisor-daemonset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegrii%2Fcadvisor-daemonset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegrii%2Fcadvisor-daemonset/lists"}