Hi,
The first question in the first mock exam was like a BOM!
In question you did not ask to run any command in any container, but in solution you added:
sleep command to 2 of 3 containers.
Can you please let me know why it like that?
Is the same in real exam that we should add some commands without its being asked in the question?
Hi @powerofviva
This is not about being given the commands to run. It is about knowing how to keep a container running.
If you do not add a command to the busybox containers then they will be in CrashLoopBackoff
which is not a Running
state.
The grader is looking for the fact that the containers are running when it is marked at End Exam. How you make them stay running is up to you, but the easiest way is to run a sleep command that is long enough to last the duration of the exam.
Thanks, you are right.
I missed that part and should read more about that.