mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #96776 from JornShen/remove_unused_CloudControllerManagerPort
resume CloudControllerManagerPort to hardcode in port.go
This commit is contained in:
commit
631b953fdf
@ -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(
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user