Update to use proxy subresource consistently

This commit is contained in:
Jordan Liggitt
2017-01-09 16:17:23 -05:00
parent dc1302c5ef
commit 88a876b1d0
13 changed files with 81 additions and 33 deletions

View File

@@ -35,7 +35,7 @@ import (
)
const (
baseHeapsterServiceAddress = "/api/v1/proxy/namespaces/kube-system/services/http:heapster:"
baseHeapsterServiceAddress = "/api/v1/namespaces/kube-system/services/http:heapster:/proxy"
baseMetricsAddress = baseHeapsterServiceAddress + "/apis/metrics"
metricsApiVersion = "v1alpha1"
)