mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Add comment for controller manager default values
This commit is contained in:
parent
7f52438dea
commit
5af2ac5344
@ -45,6 +45,8 @@ type CloudControllerManagerServer struct {
|
|||||||
// NewCloudControllerManagerServer creates a new ExternalCMServer with a default config.
|
// NewCloudControllerManagerServer creates a new ExternalCMServer with a default config.
|
||||||
func NewCloudControllerManagerServer() *CloudControllerManagerServer {
|
func NewCloudControllerManagerServer() *CloudControllerManagerServer {
|
||||||
s := CloudControllerManagerServer{
|
s := CloudControllerManagerServer{
|
||||||
|
// Part of these default values also present in 'cmd/kube-controller-manager/app/options/options.go'.
|
||||||
|
// Please keep them in sync when doing update.
|
||||||
KubeControllerManagerConfiguration: componentconfig.KubeControllerManagerConfiguration{
|
KubeControllerManagerConfiguration: componentconfig.KubeControllerManagerConfiguration{
|
||||||
Port: ports.CloudControllerManagerPort,
|
Port: ports.CloudControllerManagerPort,
|
||||||
Address: "0.0.0.0",
|
Address: "0.0.0.0",
|
||||||
|
@ -55,6 +55,8 @@ func NewCMServer() *CMServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
s := CMServer{
|
s := CMServer{
|
||||||
|
// Part of these default values also present in 'cmd/cloud-controller-manager/app/options/options.go'.
|
||||||
|
// Please keep them in sync when doing update.
|
||||||
KubeControllerManagerConfiguration: componentconfig.KubeControllerManagerConfiguration{
|
KubeControllerManagerConfiguration: componentconfig.KubeControllerManagerConfiguration{
|
||||||
Controllers: []string{"*"},
|
Controllers: []string{"*"},
|
||||||
Port: ports.ControllerManagerPort,
|
Port: ports.ControllerManagerPort,
|
||||||
|
Loading…
Reference in New Issue
Block a user