xetys / rancher-prometheus

A bundle of scripts to deploy prometheus with cluster monitoring to rancher powered k8s clusters
1 stars 0 forks source link

Missing Metrics #1

Open strowi opened 6 years ago

strowi commented 6 years ago

Hi,

nice work, but i seem to be missing some metrics, like etcd, kube-controller/-scheduler...? I am trying to figure out if i can get these (running outside kubernetes) with the prometheus-operator...

regards, strowi

bfleming-ciena commented 6 years ago

Problem is prometheus can't access cadvisor, because rancher runs the kublet with authentication. You can add options to your k8s delpoyment in rancher, and deal with the risk of opening that up. Maybe a secure way, but this is at least something to get things working.

--authorization-mode=AlwaysAllow --anonymous-auth=true