stackanetes / kubernetes-entrypoint

Used as a container entrypoint, it will wait for specified k8s dependencies, create files based on ConfigMaps, and much more - before running a given command.
Apache License 2.0
50 stars 18 forks source link

Debugging flag #14

Open sbezverk opened 7 years ago

sbezverk commented 7 years ago

For some scenarios it would be great to be able to activate a debugging flag. When it is on, entrypoint should generate additional logs detailing why the condition has not met and proof of that.

kfox1111 commented 7 years ago

also, when used with command "exit 0" (init container use case), on error it would be nice to fail in place rather then actually exiting so the logs can be more easily retrieved.

PiotrProkop commented 7 years ago

Can you give me an example of more verbose output ? I tried to make log messages as clear as possible.

PiotrProkop commented 7 years ago

HI @sbezverk we put this on our roadmap https://github.com/stackanetes/kubernetes-entrypoint/blob/master/doc/roadmap.md and try to implement this as soon as possible.