Skip to content

Cached image is not able to get ports inside the Pod #12

@ggupta-98

Description

@ggupta-98

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 <pod-name> -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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions