Merge pull request #96776 from JornShen/remove_unused_CloudControllerManagerPort

resume CloudControllerManagerPort to hardcode in port.go
This commit is contained in:
Kubernetes Prow Robot 2020-12-08 20:03:09 -08:00 committed by GitHub
commit 631b953fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
)