Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[k8s] update timeout for pod creation to the same value of v1 #286

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/provider/src/kubernetes/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ impl KubernetesClient {

trace!("Pod {name} checking for ready state!");
let wait_ready = await_condition(pods, name, helpers::is_pod_ready());
// TODO: we may want to allow to set this timeout for pod spawning.
let _ = tokio::time::timeout(Duration::from_secs(30), wait_ready)
// TODO: we may want to allow to set this timeout for pod spawning (and maybe a vm).
let _ = tokio::time::timeout(Duration::from_secs(300), wait_ready)
.await
.map_err(|err| {
Error::from(anyhow!("error while awaiting pod {name} running: {err}"))
Expand Down
Loading