Configure Model Deployment
Last updated
Last updated
Here is the advanced configuration for model deployment.
If you find your endpoints need more time for each request, you can modify the following timeout settings.
Please check the definition of client-body-timeout
in the .
The setting affects globally of whole system, not only model deployment.
Here are the steps to modify this setting:
Check the namespace where the ingress pod is running by kubectl get ns
. The default namespace is ingress-nginx
.
Check the name of the pod by kubectl get pods -n ${YOUR_NAMESPACE}
. The name is similar to nginx-ingress-controller-79cfc6dcc5-m2rhw
.
Check the name of the configmap by kubectl get pod -n ${YOUR_NAMESPACE} ${YOUR_POD_NAME} -o yaml | grep configmap
. The result is similar to --configmap=${YOUR_NAMESPACE}/nginx-ingress-controller
and the name is nginx-ingress-controller
in this case.
Edit the config by kubectl edit cm -n ${YOUR_NAMESPACE} ${YOUR_CONFIGMAP_NAME}
. Add/Modify the client-body-timeout
under the data
section.