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.
In DSS 10.0.6+ to obtain the pod logs (apimain.log) you can use Administration - Cluster - Actions and run the following command.
To identify the pod name, go to Administration - Cluster - Monitoring and find the name(s). You may need to check each pod logs.
You can also manually redirect the apimain.log output to stdout:
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!