Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on November 8, 2022 8:19AM
Likes: 0
Replies: 1
Hi all,
I am deploying a api pod in kubernetes, our process seems to be slow.
Can i find out where do we find the python printouts in logs within the pods?
Is there a place where we need to set the http timeouts?
Where can i find the dockerfile that is used to build for this docker image when we do a deployment with code env?
Operating system used: linux
Hi @james147
,
Where are you experiencing the slowness - is it during the deployment (when you select deploy or update) or while the api is deployed? Note, API deployment requires rebuilding the code env. If you are using R, or code envs with very large Python packages, or Python packages for which precompiled binaries are not available, we confirm that this can take some time. If you are not using R, you can rebuild the deployment without it.
kubectl exec <podname> -- cat /home/dataiku/data/run/apimain.log
cat /home/dataiku/data/run/apimain.log 2>&1
Is there a place where we need to set the http timeouts? > Can you expand on this?
Where can i find the dockerfile that is used to build for this docker image when we do a deployment with code env? > The image can be found within the datadir under /tmp/api_deployer, however, I'm not sure this will help troubleshoot the slowness unless you have customized it.
If you could provide details regarding where/when this slowness is occurring, that would be great!
Thanks!
Jordan