mirror of https://github.com/kubernetes/kops.git
Add missing cli options for kube-controller-manager and kube-scheduler
This commit is contained in:
parent
40d9dbc41a
commit
fd9f4e481f
1
go.sum
1
go.sum
|
@ -1145,6 +1145,7 @@ k8s.io/cloud-provider v0.18.6/go.mod h1:QnPLLdFkvtx1dEyVMaPUdzVWB+ECzEf+PA3DXwIr
|
|||
k8s.io/cloud-provider-openstack v1.17.0 h1:n6hkiJSekJEa2LIlu+1uGfMt5jwIvPO2qnx5tcJtlYo=
|
||||
k8s.io/cloud-provider-openstack v1.17.0/go.mod h1:0pc0EbtR72bEHmhjKwzrY60oeiQzlCONjZeDe8DEgN8=
|
||||
k8s.io/cluster-bootstrap v0.18.6/go.mod h1:lnM1CXtPImlEBTh5874ZI+ofZzdIy1t2JV9Y+NxvojU=
|
||||
k8s.io/code-generator v0.18.6 h1:QdfvGfs4gUCS1dru+rLbCKIFxYEV0IRfF8MXwY/ozLk=
|
||||
k8s.io/code-generator v0.18.6/go.mod h1:TgNEVx9hCyPGpdtCWA34olQYLkh3ok9ar7XfSsr8b6c=
|
||||
k8s.io/component-base v0.18.6 h1:Wd6cHGwJN2qpufnirVOB3oMhyhbioGsKEi5HeDBsV+s=
|
||||
k8s.io/component-base v0.18.6/go.mod h1:knSVsibPR5K6EW2XOjEHik6sdU5nCvKMrzMt2D4In14=
|
||||
|
|
|
@ -1361,6 +1361,14 @@ spec:
|
|||
reconciler sync states loop wait between successive executions.
|
||||
Is set to 1 min by kops by default
|
||||
type: string
|
||||
authenticationKubeconfig:
|
||||
description: AuthenticationKubeconfig is the path to an Authentication
|
||||
Kubeconfig
|
||||
type: string
|
||||
authorizationKubeconfig:
|
||||
description: AuthorizationKubeconfig is the path to an Authorization
|
||||
Kubeconfig
|
||||
type: string
|
||||
cidrAllocatorType:
|
||||
description: CIDRAllocatorType specifies the type of CIDR allocator
|
||||
to use.
|
||||
|
@ -1783,6 +1791,14 @@ spec:
|
|||
kubeScheduler:
|
||||
description: KubeSchedulerConfig is the configuration for the kube-scheduler
|
||||
properties:
|
||||
authenticationKubeconfig:
|
||||
description: AuthenticationKubeconfig is the path to an Authentication
|
||||
Kubeconfig
|
||||
type: string
|
||||
authorizationKubeconfig:
|
||||
description: AuthorizationKubeconfig is the path to an Authorization
|
||||
Kubeconfig
|
||||
type: string
|
||||
burst:
|
||||
description: Burst sets the maximum qps to send to apiserver after
|
||||
the burst quota is exhausted
|
||||
|
|
|
@ -581,6 +581,10 @@ type KubeControllerManagerConfig struct {
|
|||
ConcurrentServiceaccountTokenSyncs *int32 `json:"concurrentServiceaccountTokenSyncs,omitempty" flag:"concurrent-serviceaccount-token-syncs"`
|
||||
// The number of replicationcontroller objects that are allowed to sync concurrently.
|
||||
ConcurrentRcSyncs *int32 `json:"concurrentRcSyncs,omitempty" flag:"concurrent-rc-syncs"`
|
||||
// AuthenticationKubeconfig is the path to an Authentication Kubeconfig
|
||||
AuthenticationKubeconfig string `json:"authenticationKubeconfig,omitempty" flag:"authentication-kubeconfig"`
|
||||
// AuthorizationKubeconfig is the path to an Authorization Kubeconfig
|
||||
AuthorizationKubeconfig string `json:"authorizationKubeconfig,omitempty" flag:"authorization-kubeconfig"`
|
||||
|
||||
// EnableProfiling enables profiling via web interface host:port/debug/pprof/
|
||||
EnableProfiling *bool `json:"enableProfiling,omitempty" flag:"profiling"`
|
||||
|
@ -636,6 +640,10 @@ type KubeSchedulerConfig struct {
|
|||
Qps *resource.Quantity `json:"qps,omitempty" configfile:"ClientConnection.QPS"`
|
||||
// Burst sets the maximum qps to send to apiserver after the burst quota is exhausted
|
||||
Burst int32 `json:"burst,omitempty" configfile:"ClientConnection.Burst"`
|
||||
// AuthenticationKubeconfig is the path to an Authentication Kubeconfig
|
||||
AuthenticationKubeconfig string `json:"authenticationKubeconfig,omitempty" flag:"authentication-kubeconfig"`
|
||||
// AuthorizationKubeconfig is the path to an Authorization Kubeconfig
|
||||
AuthorizationKubeconfig string `json:"authorizationKubeconfig,omitempty" flag:"authorization-kubeconfig"`
|
||||
|
||||
// EnableProfiling enables profiling via web interface host:port/debug/pprof/
|
||||
EnableProfiling *bool `json:"enableProfiling,omitempty" flag:"profiling"`
|
||||
|
|
|
@ -582,6 +582,10 @@ type KubeControllerManagerConfig struct {
|
|||
// The number of replicationcontroller objects that are allowed to sync concurrently.
|
||||
// This only works on kubernetes >= 1.14
|
||||
ConcurrentRcSyncs *int32 `json:"concurrentRcSyncs,omitempty" flag:"concurrent-rc-syncs"`
|
||||
// AuthenticationKubeconfig is the path to an Authentication Kubeconfig
|
||||
AuthenticationKubeconfig string `json:"authenticationKubeconfig,omitempty" flag:"authentication-kubeconfig"`
|
||||
// AuthorizationKubeconfig is the path to an Authorization Kubeconfig
|
||||
AuthorizationKubeconfig string `json:"authorizationKubeconfig,omitempty" flag:"authorization-kubeconfig"`
|
||||
|
||||
// EnableProfiling enables profiling via web interface host:port/debug/pprof/
|
||||
EnableProfiling *bool `json:"enableProfiling,omitempty" flag:"profiling"`
|
||||
|
@ -637,6 +641,10 @@ type KubeSchedulerConfig struct {
|
|||
Qps *resource.Quantity `json:"qps,omitempty"`
|
||||
// Burst sets the maximum qps to send to apiserver after the burst quota is exhausted
|
||||
Burst int32 `json:"burst,omitempty"`
|
||||
// AuthenticationKubeconfig is the path to an Authentication Kubeconfig
|
||||
AuthenticationKubeconfig string `json:"authenticationKubeconfig,omitempty" flag:"authentication-kubeconfig"`
|
||||
// AuthorizationKubeconfig is the path to an Authorization Kubeconfig
|
||||
AuthorizationKubeconfig string `json:"authorizationKubeconfig,omitempty" flag:"authorization-kubeconfig"`
|
||||
|
||||
// EnableProfiling enables profiling via web interface host:port/debug/pprof/
|
||||
EnableProfiling *bool `json:"enableProfiling,omitempty" flag:"profiling"`
|
||||
|
|
|
@ -4003,6 +4003,8 @@ func autoConvert_v1alpha2_KubeControllerManagerConfig_To_kops_KubeControllerMana
|
|||
out.ConcurrentResourceQuotaSyncs = in.ConcurrentResourceQuotaSyncs
|
||||
out.ConcurrentServiceaccountTokenSyncs = in.ConcurrentServiceaccountTokenSyncs
|
||||
out.ConcurrentRcSyncs = in.ConcurrentRcSyncs
|
||||
out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
|
||||
out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
|
||||
out.EnableProfiling = in.EnableProfiling
|
||||
return nil
|
||||
}
|
||||
|
@ -4063,6 +4065,8 @@ func autoConvert_kops_KubeControllerManagerConfig_To_v1alpha2_KubeControllerMana
|
|||
out.ConcurrentResourceQuotaSyncs = in.ConcurrentResourceQuotaSyncs
|
||||
out.ConcurrentServiceaccountTokenSyncs = in.ConcurrentServiceaccountTokenSyncs
|
||||
out.ConcurrentRcSyncs = in.ConcurrentRcSyncs
|
||||
out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
|
||||
out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
|
||||
out.EnableProfiling = in.EnableProfiling
|
||||
return nil
|
||||
}
|
||||
|
@ -4212,6 +4216,8 @@ func autoConvert_v1alpha2_KubeSchedulerConfig_To_kops_KubeSchedulerConfig(in *Ku
|
|||
out.MaxPersistentVolumes = in.MaxPersistentVolumes
|
||||
out.Qps = in.Qps
|
||||
out.Burst = in.Burst
|
||||
out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
|
||||
out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
|
||||
out.EnableProfiling = in.EnableProfiling
|
||||
return nil
|
||||
}
|
||||
|
@ -4239,6 +4245,8 @@ func autoConvert_kops_KubeSchedulerConfig_To_v1alpha2_KubeSchedulerConfig(in *ko
|
|||
out.MaxPersistentVolumes = in.MaxPersistentVolumes
|
||||
out.Qps = in.Qps
|
||||
out.Burst = in.Burst
|
||||
out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
|
||||
out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
|
||||
out.EnableProfiling = in.EnableProfiling
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -21,14 +21,15 @@ package mesh
|
|||
|
||||
import (
|
||||
fmt "fmt"
|
||||
_ "github.com/gogo/protobuf/gogoproto"
|
||||
proto "github.com/gogo/protobuf/proto"
|
||||
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||
io "io"
|
||||
math "math"
|
||||
math_bits "math/bits"
|
||||
reflect "reflect"
|
||||
strings "strings"
|
||||
|
||||
_ "github.com/gogo/protobuf/gogoproto"
|
||||
proto "github.com/gogo/protobuf/proto"
|
||||
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
|
Loading…
Reference in New Issue