kingluo commented on issue #9240:
URL: https://github.com/apache/apisix/issues/9240#issuecomment-1500790035

   @FlyTOmeLight 
   
   1. why do you configure proxy-rewrite to change uri? It's confusing and 
completely unnecessary for grpc.
   
   2. The IP and port are transport-level stuff, which is none of the business 
of the layer7 protocol, i.e. http2 and grpc based on http2. The downstream IP 
and port are completely decoupled from the upstream one. So, nothing special to 
do here, just ensure your upstream is correct.
   
   3. why you configure your upstream as three ports and different protocols?
   
   >apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: {{ .Release.Name }}
   spec:
     loadbalancer:
       type: ewma
     retries: {{ .Values.ingress.retries }}
     timeout:
       connect: {{ .Values.ingress.timeout.connect }}
       send: {{ .Values.ingress.timeout.send }}
       read: {{ .Values.ingress.timeout.read }}
     portLevelSettings:
       - port: 8000
         scheme: http
       - port: 8001
         scheme: grpc
       - port: 8002
         scheme: http
   
   Anyways, could you show the final configuration via admin API, instead of 
just template text? So that I could have a full view of your configuration and 
figure out what's wrong with your configuration.


-- 
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