ports.go 2.6 KB

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