fix pod metrics error

This commit is contained in:
jeff
2018-06-20 15:59:51 +08:00
parent caf2acb839
commit a12da3b63e
2 changed files with 13 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ import (
const (
DefaultHeapsterScheme = "http"
DefaultHeapsterService = "heapster.kube-system.svc.cluster.local" //"heapster"
DefaultHeapsterPort = "80" // use the first exposed port on the service
DefaultHeapsterPort = "80" // use the first exposed port on the service
HeapsterApiPath = "/api/v1/model"
HeapsterEndpointUrl = DefaultHeapsterScheme + "://" + DefaultHeapsterService + ":" + DefaultHeapsterPort + HeapsterApiPath
)