Create an insecure (http) read-only port on the kubelet so that

heapster can collect metrics. Update the heapster config to
point to the non-secured port.
This commit is contained in:
Robert Bailey
2015-04-01 21:41:32 -07:00
parent f15e34a1bf
commit 4488ff95a2
4 changed files with 47 additions and 11 deletions

View File

@@ -32,4 +32,10 @@ const (
// ControllerManagerPort is the default port for the controller manager status server.
// May be overridden by a flag at startup.
ControllerManagerPort = 10252
// KubeletReadOnlyPort exposes basic read-only services from the kubelet.
// May be overridden by a flag at startup.
// This is necessary for heapster to collect monitoring stats from the kubelet
// until heapster can transition to using the SSL endpoint.
// TODO(roberthbailey): Remove this once we have a better solution for heapster.
KubeletReadOnlyPort = 10255
)