Lab: Ultimate CKA Mock Exam 3 - Q14 - Too strict sidecar definition check?

This is overall status:

I think if you don’t mandate name of the sidecar pod, i can use whatever; same for sleep time…

Or let me know i’m wrong, thanks

If I had to guess, your error is in the command you used for the sidecar. Note that you used “bin/sh” for the first argument to command. This is incorrect; it should be /bin/sh. If I had to guess, the container is not running right in your case.

I’m using “sh” only (on ther right, since the left terminal is the lab’s official solution…) usually without any problem…infact the pod’s running with both containers active; is there any special rule that say that “/bin/sh” is the right way?

bin/sh is just wrong – either you use a shell that’s in the container’s path (“sh”) or the full path the shell “/bin/sh”. “bin/sh” is neither, and will fail. So, wrong. If it’s the solution’s code, still wrong.

Not sure why you’re not working, and the grader accepted my answer.