Skip to content

Commit fe14515

Browse files
author
Nicolas Brignone
committed
Using this policy crashes are easily troubleshooted "kubectl get pod ${POD_NAME} -o yaml"
1 parent c3e466d commit fe14515

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/framework/pod.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func NewContainerBuilder(name string, image string) *ContainerBuilder {
3131
cb.c = v1.Container{}
3232
cb.c.Name = name
3333
cb.c.Image = image
34+
cb.c.TerminationMessagePolicy = v1.TerminationMessageFallbackToLogsOnError
3435
return cb
3536
}
3637

0 commit comments

Comments
 (0)