1/* 2Copyright 2014 The Kubernetes Authors. 3 4Licensed under the Apache License, Version 2.0 (the "License"); 5you may not use this file except in compliance with the License. 6You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10Unless required by applicable law or agreed to in writing, software 11distributed under the License is distributed on an "AS IS" BASIS, 12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13See the License for the specific language governing permissions and 14limitations under the License. 15*/ 16 17package ports 18 19// In this file, we can see all default port of cluster. 20// It's also an important documentation for us. So don't remove them easily. 21const ( 22 // ProxyStatusPort is the default port for the proxy metrics server. 23 // May be overridden by a flag at startup. 24 ProxyStatusPort = 10249 25 // KubeletPort is the default port for the kubelet server on each host machine. 26 // May be overridden by a flag at startup. 27 KubeletPort = 10250 28 // KubeletReadOnlyPort exposes basic read-only services from the kubelet. 29 // May be overridden by a flag at startup. 30 // This is necessary for heapster to collect monitoring stats from the kubelet 31 // until heapster can transition to using the SSL endpoint. 32 // TODO(roberthbailey): Remove this once we have a better solution for heapster. 33 KubeletReadOnlyPort = 10255 34 // ProxyHealthzPort is the default port for the proxy healthz server. 35 // May be overridden by a flag at startup. 36 ProxyHealthzPort = 10256 37 // KubeControllerManagerPort is the default port for the controller manager status server. 38 // May be overridden by a flag at startup. 39 KubeControllerManagerPort = 10257 40 // CloudControllerManagerPort is the default port for the cloud controller manager server. 41 // This value may be overridden by a flag at startup. 42 CloudControllerManagerPort = 10258 43) 44