Increase Timeout from 5 Minutes (K8s pods orphaned) #15909
-
Hi, We are running Coder on our K8s cluster. Some templates use big images, and it takes more than 5 minutes to pull them. Coder times out after 5 minutes, showing that the workspace has failed. The pod keeps starting on K8s and doesn't show as healthy or started on Coder. This leads to orphaned pods that are in fact running (and wasting resources) without users knowing that their pods started. Ask: Is there a way to escape this behavior with Terraform? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
@deansheather can we adjust this? |
Beta Was this translation helpful? Give feedback.
-
Hi, @groundsada could you share the logs and errors you get when it times out? Are you using the builtin example Kubernetes template that uses a kubernets_deployment? |
Beta Was this translation helpful? Give feedback.
-
HI @matifali These are the Build Logs:
This happens when pulling a big image takes more than 5 minutes. The pod is actually running now without Coder knowing.
|
Beta Was this translation helpful? Give feedback.
-
@matifali My template is built from an example that uses a kubernetes pod and PVC, this is the pod snippet:
|
Beta Was this translation helpful? Give feedback.
Could you try using
timeouts
then?