elek commented on a change in pull request #1355:
URL: https://github.com/apache/hadoop-ozone/pull/1355#discussion_r478259606
##########
File path: hadoop-ozone/dist/src/main/k8s/examples/testlib.sh
##########
@@ -77,6 +77,13 @@ start_k8s_env() {
wait_for_startup
}
+get_logs() {
+ mkdir -p logs
+ for pod in $(kubectl get pods -o custom-columns=NAME:.metadata.name | tail
-n +2); do
Review comment:
It's a shame that we have no better solution. We can do `kubectl logs -l
app=ozone` but it will fail when we add setup with more apps (like ozone +
spark).
FTR: locally I use https://github.com/wercker/stern and it works well (but
this loop is easier.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]