GoogleContainerTools / GoogleContainerTools/skaffold

status-checks may miss the application log on failure

Open
#7,180 0 comments 0 reactions 0 assignees View on GitHub
area/status-check kind/todo
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

In #7168 a status check failed, but the output was not useful:
```
- deployment/t: container t-container terminated with exit code 1
- pod/t-7677684866-kbrlx: container t-container terminated with exit code 1
> Error retrieving logs for pod t-7677684866-kbrlx: exit status 1.
Try `kubectl logs t-7677684866-kbrlx -n default -c t-container`
```
As a result the user could not see what was the underlying cause.

Could we report the pod's [lastState.terminated.message](https://kubernetes.io/docs/tasks/debug-application-cluster/determine-reason-pod-failure/) instead?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.