aws-samples / aws-samples/bottlerocket-images-cache
Cached image is not able to get ports inside the Pod
- Dominant language
- Shell
- Stars
- 59
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I was able to create a snapshot of with prefetched image as described here, there is one issue I am facing here when the image is trying to run inside the pod, its not able to get port to run on or there is some networking error.
The application is supposed to start a flask server inside the pod on port 8001 but when trying to port-forward the service outside for testing its failing also when seeing the logs inside the application the server is not starting.
I tried the command
```
kubectl exec -n namespace -- ps aux
```
it gave the following output
```
root 1 1.3 3.3 48040744 2172680 ? Dsl 16:04 0:08 /usr/bin/python3 /usr/local/bin/flask run --host=0.0.0.0 --port=8001
```
Can someone help me out here?
Contributor guide
Assessment
This issue has not been assessed yet.