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?
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
it gave the following output
Can someone help me out here?