I am experiencing a validation error in the “Sidecar Container” task. Despite the Pod being in a 2/2 Running state and meeting all technical requirements, the validator fails with the error: 'sidecar-container' doesn't exist and Image used is not 'ubuntu:latest'.
Pod Status:** Running (2/2)
Container Name:** sidecar-container (verified via kubectl describe)
Image:** ubuntu:latest (verified via kubectl describe)
Volume Mounts:** Shared emptyDir volume is mounted at /var/log/nginx in both containers.
The Conflict: The instructions mention creating an init container named sidecar-container, but also state the container must be in a running state while executing a while true loop. If configured as an initContainer, the pod never reaches “Running” status. If configured as a standard container (sidecar), the validator fails to recognize its existence.
Steps Taken: I have tried recreating the pod multiple times, ensuring no typos or hidden characters exist in the YAML, and confirmed that the shared volume is functional. It appears the validation script may be looking for the container in the wrong spec section or has a naming mismatch.
Please help me to resolve this ASAP, i’m stuck here i cant take other labs without finishing this.