groundcover-com / murre

Murre is an on-demand, scaleable source of container resource metrics for K8s.
https://www.groundcover.com/blog/murre
Apache License 2.0
309 stars 18 forks source link

[FR] Support k0s #27

Open dwarf-king-hreidmar opened 1 year ago

dwarf-king-hreidmar commented 1 year ago

Hi there! I stumbled upon your project while looking for a lightweight tool to expose metrics on my iot k8s cluster. I currently use k0s and so when I run something like kubectl I need to preface that with the k0s command. I've made an alias like so:

alias kubectl='/opt/k0s/bin/k0s --data-dir /opt/k0s/data kubectl'

I'm not sure how murre works under the hood but could it be easily modified to read from a k0s kubernetes cluster?

I tried and make sure my kubeconfig was in the default location but I just get a blank screen with some headers when I run murre

https://k0sproject.io/

Thanks for this project!

fenio commented 7 months ago

For me murre works perfectly fine and I'm also using k0s as k8s. Just make sure that kubeconfig is available in ~/.kube/config

dwarf-king-hreidmar commented 7 months ago

I have triple checked and ~/.kube/config is where it should be. The issue remains. The output is just blank. All I see are the titles of the columns: Namespace, Pod, Container, CPU, Memory. The rest of the page is blank. I tried the --kubeconfig flag. When I point it to my config file I get the output I've describe. When I point it at a bogus file it just prints the help page.