Blenra
Optimized for: Gemini / ChatGPT / Claude

Advanced AI Prompt for Istio Service Mesh VirtualService and Gateway

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [GATEWAY_NAME]
  • [HOST_DOMAIN]
  • [SERVICE_A_NAME]
  • [SERVICE_B_NAME]
  • [CANARY_WEIGHT]
istio-virtualservice-gateway-traffic-routing.txt
Generate an Istio VirtualService and Gateway manifest to handle traffic for '[HOST_DOMAIN]'. Configure the Gateway to use standard ingressgateway labels. In the VirtualService, implement a canary release pattern: route '[CANARY_WEIGHT]'% of traffic to '[SERVICE_B_NAME]' and the remainder to '[SERVICE_A_NAME]'. Include a 5-second timeout and a retry policy for 503 errors with 3 attempts.

Example Output

"The AI will generate an Istio Gateway for external access and a VirtualService with weighted routing and resiliency headers for your microservices."