ps-19 commented on issue #1712:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1712#issuecomment-1489798798

   For configuring upstream timeout when use kubernetes ingress resource, you 
can use the timeout field in the ApisixUpstream resource. 
   
   ```
   apiVersion: VERSION
   kind: ApisixUpstream
   metadata:
     name: httpbin
   spec:
     timeout:
       connect: 1s // connection timeout
       read: 1s   // read timeout
   ```
   
   Other method:
   
   `healthCheck` field to configure active health check for your upstream 
service.
   
   ```
   apiVersion: 
   kind: ApisixUpstream
   metadata:
     name: httpbin
   spec:
     timeout:
       connect: `s
       read: 1s
     healthCheck:
       active: true
       port: PORT
       interval: 1s
       timeout: 1s
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to