mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2025-12-11 17:50:06 +01:00
chore(nix-kubernetes): increase deletion/shutdown timeout
this way the shutdown tasks, like "coder_shutdown" can take their time and not get killed instantly
This commit is contained in:
parent
e3ffee0188
commit
54804d21c4
1 changed files with 3 additions and 0 deletions
|
|
@ -17,7 +17,10 @@
|
||||||
"com.coder.workspace.name" = "\${data.coder_workspace.me.name}";
|
"com.coder.workspace.name" = "\${data.coder_workspace.me.name}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# give the shutdown tasks enough time to run
|
||||||
|
timeouts.delete = "31m";
|
||||||
spec = {
|
spec = {
|
||||||
|
termination_grace_period_seconds = 1800;
|
||||||
affinity.pod_anti_affinity.preferred_during_scheduling_ignored_during_execution = {
|
affinity.pod_anti_affinity.preferred_during_scheduling_ignored_during_execution = {
|
||||||
weight = 1;
|
weight = 1;
|
||||||
pod_affinity_term = {
|
pod_affinity_term = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue