Sounds like you are hitting an RBAC rule that is insufficient (cant list pods). 
It looks like your manifest is trying to use the default RBAC role, but it’s 
different somehow than what Heapster expects.

Does the version of Kubernetes match between Tectonic and what the standard 
config expects?

> On Jun 12, 2017, at 2:10 AM, Arve Knudsen <[email protected]> wrote:
> 
> I've installed a vanilla Kubernetes cluster with my DigitalOcean port of 
> Tectonic Installer, and am trying to install Heapster. I used this standard 
> config 
> <https://github.com/kubernetes/heapster/blob/master/deploy/kube-config/influxdb/heapster.yaml>
>  for installing Heapster. However, Heapster is unable to get metrics due to 
> errors like the following:
> 
>     E0612 09:05:41.447500       1 reflector.go:190] 
> k8s.io/heapster/metrics/heapster.go:322 
> <http://k8s.io/heapster/metrics/heapster.go:322>: Failed to list *v1.Pod: 
> User "system:serviceaccount:kube-system:heapster" cannot list pods at the 
> cluster scope. (get pods)
>     E0612 09:05:41.542553       1 reflector.go:190] 
> k8s.io/heapster/metrics/util/util.go:51 
> <http://k8s.io/heapster/metrics/util/util.go:51>: Failed to list *v1.Node: 
> User "system:serviceaccount:kube-system:heapster" cannot list nodes at the 
> cluster scope. (get nodes)
> 
> What changes do I need to make to get Heapster working within my cluster?
> 
> Thanks,
> Arve

Reply via email to