GoogleContainerTools / GoogleContainerTools/skaffold
status-checks may miss the application log on failure
Open
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
Assessment
This issue has not been assessed yet.