ancient-wolf-19325
08/26/2024, 11:09 AM[ContainersNotReady|PodInitializing]: containers with unready status typically indicates that the container is not ready to start because it is still in the process of pulling the Docker image or there is an issue with the image itself.
According to Flyte Issue #1319, this error can occur if the Docker image does not exist in the sandbox cluster. You can verify and build the Docker image inside the sandbox container using the following steps:
1. Enter the sandbox container:
cd flytesnacks
make shell
2. Check for existing Docker images:
docker images
3. Build the Docker image if it does not exist:
make -C cookbook/case_studies/ml_training/pima_diabetes docker_build
Alternatively, you can build the Docker image directly:
cd cookbook/case_studies/ml_training
flytectl sandbox exec -- docker build . --tag "myapp:v1" -f pima_diabetes/Dockerfile
Would you like more details on any of these steps?
Sources:
- Flyte Issue #1319
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1724670549.562349 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.