kubernetes-retired / rktlet

[EOL] The rkt implementation of the Kubernetes Container Runtime Interface
Apache License 2.0
137 stars 43 forks source link

runtime: start sandboxes with --debug #148

Closed iaguis closed 7 years ago

iaguis commented 7 years ago

Otherwise, if rkt app add or rkt app start fails, we won't get any logs in the journal and we'll be blind to the causes of the failure.

With this, users can at least run on the host:

# journalctl -M rkt-$POD_UUID

and see why the app failed to start.

As a complete solution, we should somehow capture this journal output and propagate it to the error returned in StartContainer().