> kubectl get pods
# somewhere in the output you should see a line like this:
NAME READY STATUS RESTARTS AGEtf-mnist-xxxx 1/1 Running 0 7s
</syntaxhighlight>
# replace xxxx with the code from get pods.
> kubectl logs tf-mnist-xxxx
# this should show the console output of your python program
</syntaxhighlight>