resume CloudControllerManagerPort as hardcode 10258 in port.go

This commit is contained in:
jornshen 2020-11-21 11:38:07 +08:00
parent d20e3246ba
commit de57248e57
2 changed files with 3 additions and 8 deletions

View File

@ -12,9 +12,6 @@ go_library(
"ports.go",
],
importpath = "k8s.io/kubernetes/pkg/cluster/ports",
deps = [
"//staging/src/k8s.io/cloud-provider:go_default_library",
],
)
filegroup(

View File

@ -16,10 +16,8 @@ limitations under the License.
package ports
import (
"k8s.io/cloud-provider"
)
// In this file, we can see all default port of cluster.
// It's also a important documentation for us. So don't remove them easily.
const (
// ProxyStatusPort is the default port for the proxy metrics server.
// May be overridden by a flag at startup.
@ -45,5 +43,5 @@ const (
KubeControllerManagerPort = 10257
// CloudControllerManagerPort is the default port for the cloud controller manager server.
// This value may be overridden by a flag at startup.
CloudControllerManagerPort = cloudprovider.CloudControllerManagerPort
CloudControllerManagerPort = 10258
)