would like to configure the namespace cadvisor is found in
See original GitHub issueRight now it is hardcoded to cadvisor
. It would be nice to be able to configure this.
Not sure how you like configuration to be extracted. If you provide some guidance I can open a PR.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
cAdvisor should retrieve application metrics using container's ...
cAdvisor retrieves application metrics by issuing a GET request to an HTTP endpoint configured by placing a configuration file in the ...
Read more >cAdvisor and Kubernetes Monitoring Guide - CloudForecast
In this guide, you'll learn the challenges with monitoring Kubernetes and how to use cAdvisor w/ Prometheus and Grafana to address them.
Read more >cAdvisor: Tutorial & Examples - Kubecost
Learn what is cAdvisor, how to implement Container Advisor, understand runtime options, export data using cAdvisor and cAdvisor best practices.
Read more >cAdvisor Setup - VMware Docs
Create cAdvisor.yaml (Daemaonset yaml). ... Run kubectl apply -f cadvisor.yaml . Daemonset and service on your Kubernetes cluster is created. Run ...
Read more >Monitoring containers with cAdvisor - Learn Cloud Native
If your applications are already emitting metrics, you can configure cAdviser to scrape the endpoint and include which metrics you want to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah I’ve also struggled defining an isomorphic config that feels right in both the cli and web.
It’s pretty standard to inject env vars or mount entire files into a container with configmaps. Env vars also let you use
env
orenvFrom
in podSpecs to define it. Changing the cli args is trivial too.Env vars could be made to work ok in the browser with query params like you mentioned:
@593769290 I’ve seen people used to create a namespace per application, other having inter-dependent applications into a single namespace. I’d be inclined to think cAdvisor is a rather cross-cutting kind of application, so it may be ok that it’s installed in its own namespace.
Anyway I like the idea of leaving that decision to the user, and exposing
CADVISOR_NAMESPACE
so that it’s configurable.