Timeout
The timeout option specifies the amount of time that an Envoy proxy has to wait before receiving a response from a service. If no response is received within the timeout duration, access to the service is considered as a failure to prevent resource locks and request blocks.
Configure the YAML file as follows:
apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: my-productpage-rule namespace: istio-system spec: hosts: - productpage.prod.svc.cluster.local http: - timeout: 5s # Configure request timeout parameters. route: - destination: host: productpage.prod.svc.cluster.local
You can configure the parameters based on site requirements.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot