question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Terraform's `kubectl wait --for=condition=ready pods ...` hangs

See original GitHub issue

Describe the bug

To Reproduce

  • I have not reproduced the issue myself yet.
  • But we can try to reproduce this issue by running the terraform apply (as seen in /terraform/README.md) multiple times.

Logs

  • N/A

Screenshots

  • N/A

Environment

  • TBD

Additional context

  • tpryan@ might be able to provide additional context.

Exposure

  • This would affect anyone using Terraform to deploy Online Boutique.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tpryancommented, Sep 21, 2022

It’s intermittent. And I can’t tell what variables are changing. I have a build job that runs it every night. So in theory I will get logs for you to sift through eventually. 😃

0reactions
minherzcommented, Dec 14, 2022

@NimJay i suggest to close this item. there is no clear reproduction path. as an option, we can add a timeout argument to the relevant Terraform configurations to avoid tests to hang out forever.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wait Conditions in the Kubernetes Provider for HashiCorp ...
This new attribute instructs the Terraform provider to wait on a condition based on any attribute of a Kubernetes object. For example, you...
Read more >
terraform helm release timeout while waiting for condition
You can use the kubernetes in Terraform. ... but the pods are stuck on pending for some reason (resources, taints, etc') or crashing....
Read more >
Troubleshooting | Google Kubernetes Engine (GKE)
If the Maximum pods per node limit is reached by all nodes in the cluster, the Pods will be stuck in Unschedulable state....
Read more >
Check your Helm deployments! - Polar Squad
Here's how to safely deploy Helm charts containing Kubernetes ... AGE demo 0/1 1 0 1s ==> v1/Pod(related) NAME READY STATUS RESTARTS AGE ......
Read more >
Starting containers in order on Kubernetes with InitContainers
In Kubernetes, deployments have a restartPolicy set to Always by default, which means that the kubelet agent of the node attempts to restart...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found