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:
technofab 2025-08-01 12:31:45 +02:00
parent e3ffee0188
commit 54804d21c4
No known key found for this signature in database

View file

@ -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 = {