如何使用heapster验证文件

时间:2016-07-20 09:24:17

标签: kubernetes heapster

我正在运行一个安全的kubernetes集群,使用keystone进行身份验证。现在,我正在尝试运行heapster,我收到错误:

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)

我想知道如何将身份验证文件传递给heapster以及该文件应包含哪些内容?或者还有其他方法可以为heapster提供凭据吗?

TIA。

1 个答案:

答案 0 :(得分:0)

Heapster auth配置记录在案here