mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Disable leader election for now
This commit is contained in:
parent
1826084b24
commit
529e22ef80
@ -99,6 +99,7 @@ func startNorman(ctx context.Context, tlsConfig *dynamiclistener.UserConfig, con
|
||||
tlsServer, err = tls.NewServer(ctx, v1.ClientsFrom(ctx).ListenerConfig, *tlsConfig)
|
||||
return ctx, err
|
||||
},
|
||||
DisableLeaderElection: true,
|
||||
MasterControllers: []norman.ControllerRegister{
|
||||
func(ctx context.Context) error {
|
||||
dataDir := filepath.Join(config.DataDir, "manifests")
|
||||
|
Loading…
Reference in New Issue
Block a user