0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-09 12:05:50 +03:00

nixos/kubernetes: Add longer timeouts for waiting services

This commit is contained in:
Christian Albrecht 2019-03-03 19:07:22 +01:00
parent 51aeaaffc2
commit cf8389c904
No known key found for this signature in database
GPG key ID: 866AF4B25DF7EB00
2 changed files with 4 additions and 1 deletions

View file

@ -480,6 +480,9 @@ in
})} })}
''; '';
script = "echo apiserver control plane is online"; script = "echo apiserver control plane is online";
serviceConfig = {
TimeoutSec = "500";
};
}; };
} }
]; ];

View file

@ -246,7 +246,7 @@ in
'') '')
]; ];
serviceConfig = { serviceConfig = {
TimeoutSec = "300"; TimeoutSec = "500";
RestartSec = "1s"; RestartSec = "1s";
Restart = "on-failure"; Restart = "on-failure";
}; };