kubernetes module: enable leader elect by default
This commit is contained in:
parent
856ca7347f
commit
8e48fff268
@ -404,7 +404,7 @@ in {
|
|||||||
leaderElect = mkOption {
|
leaderElect = mkOption {
|
||||||
description = "Whether to start leader election before executing main loop.";
|
description = "Whether to start leader election before executing main loop.";
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
kubeconfig = mkKubeConfigOptions "Kubernetes scheduler";
|
kubeconfig = mkKubeConfigOptions "Kubernetes scheduler";
|
||||||
@ -438,7 +438,7 @@ in {
|
|||||||
leaderElect = mkOption {
|
leaderElect = mkOption {
|
||||||
description = "Whether to start leader election before executing main loop.";
|
description = "Whether to start leader election before executing main loop.";
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceAccountKeyFile = mkOption {
|
serviceAccountKeyFile = mkOption {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user