Https://kodekloud.com/topic/lab-cka-mock-exam-10/

Q. Run a pod called looper-cka16-arch using the busybox image that runs the while loop while true; do echo hello; sleep 10;done. This pod should be created in the default namespace.

  • looper-cka16-arch pod created?

  • pod prints hello every 10 seconds?

    image
    in args section i gave /bin/bash and it was giving error like no such file or dir exists. But when i gave /bin/sh in the args section, the pod was running. why is that?

Hi @uzmashafi061,

It’s normal, the busy box image is a light image, he doesn’t have /bin/bash so you need to use /bin/sh

Thank

NB : Please doesn’ t use args to run something on pod, please use commands

Thank

1 Like