I am running a secure kubernetes cluster where authentication is done using keystone. Now, I am trying to run heapster and I am getting the error as:
E0720 09:22:18.244161 1 reflector.go:205] k8s.io/heapster/metrics/sources/summary/summary.go:454: Failed to list *api.Node: the server has asked for the client to provide credentials (get nodes)
E0720 09:22:18.250826 1 reflector.go:205] k8s.io/heapster/metrics/processors/namespace_based_enricher.go:84: Failed to list *api.Namespace: the server has asked for the client to provide credentials (get namespaces)
I want to know how can I pass an authentication file to heapster and what should that file contain? Or is there any other way to provide credentials to heapster?
TIA.