When attempting questions in jobs and cronjobs topic, as in question no 2, shown below, where do I see that 6 has come OR it is just beleived that it will come. The other questions in the series are also similar. Even the solution shown does not show where the 6 has come. In which logs can i see whether 6 has come or not? Do help me to remove the confusion.
Create a Job using this POD definition file or from the imperative command and look at how many attempts does it take to get a '6'.
Hi @Shivendra,
Please share the lab link, I’ll check it.
Hi @Shivendra
You can check the result in pod’s log with command: k logs throw-dice-job-4h996
Thanks. Will re-attempt and confirm you the result. Also when describing I do see the number but never 6.
@raymond.baoly Also can you confirm the pods contain the logic that when it gets the 6 then it internally compares the same and completes the job? Is that an interpretation of completion? So will the system continue till it gets a 6, can we interpret this like this?