Is this from Kodekloud engineer tests?
It helps if you share the correct Lab name or URL, and use the </> button at the top of the editor ribbon to render your manifest in a code block.
Coming back to your issue, it appears to be an issue with initContainer. Have you checked the Deployment logs or events by describing the Deployment?
That should give you some hints at what’s causing the Crashloop.
Can you share the manifest you used to create the Deployment?
Paste the YAML in a code block for readability. You can use the icon showed in the image to paste the yaml.
I guess there could be a bug in this lab. I’ll verify and inform the concerned team about this.
Hello!
I am also experiencing the problem with these questions.
I see that you must use a side and not an initcontainer. The initcontainer will not find the file because the container has not been started yet.
I see the problem; if you do this as an initContainer, the solution as posted never starts the main container. Here’s a work-around for the initContainer, which the grader wants:
In any event, thanks for reporting this. Our engineers have already updated the question so that the posted solution works better, and the grader likes it as well.