Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kubernetes builds are difficult to debug #4767

Closed
@bpmct

Description

@bpmct

If I enter an invalid image as a parameter or something, the build logs will just say the resource is stuck on Creating until it eventually times out. If I inspect the pod manually, I will find the error.

You can use the TF_LOG=debug to get more info, but for some reason that makes builds take a very long time: #4766.

Additionally, there is a lot of noise with this log level. Perhaps it's only helpful to the user when an error occurs or when someone is modifying the template. Something @kylecarbs suggested was a "Run with debug logging" option when building workspaces, but that could make it difficult to debug race conditions.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions