heapster插件安装完成后,grafana可以获取到数据。dashboard无法获取数据

解决办法

在dashboard的yaml中,增加 - --heapster-host 配置,如下:

 ports:
        - containerPort: 8443
          protocol: TCP
        args:
          - --auto-generate-certificates
          # Uncomment the following line to manually specify Kubernetes API server Host
          # If not specified, Dashboard will attempt to auto discover the API server and connect
          # to it. Uncomment only if the default does not work.
          # - --apiserver-host=http://my-address:port
          - --heapster-host=http://heapster.kube-system.svc.cluster.local

results matching ""

    No results matching ""