Skip to content

proxy grpc/http2 #545

Answered by ilusharulkov
ilusharulkov asked this question in Q&A
Mar 26, 2021 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Hello, @iwilltry42 !
I forgot one important information 😳...
I use k3d with --disable=traefik and my ingress conroller is nginx
When i make an grpc call to service in nginx's pod:

10.42.1.147 - - [30/Mar/2021:19:53:06 +0000] "PRI * HTTP/2.0" 400 150 "-" "-" 0 0.000 [] [] - - - - 216f90a9c599384cc6e1646625d9f8d4

My ingress conroller configuration:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: {{ .Chart.Name }}-search
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
spec:
  rules:
    - host: {{...}}
      http:
        paths:
          - backend:
              serviceName: {{ .Chart.Name }}-search
           …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@iwilltry42
Comment options

Comment options

You must be logged in to vote
4 replies
@iwilltry42
Comment options

@ilusharulkov
Comment options

@ilusharulkov
Comment options

@iwilltry42
Comment options

Answer selected by iwilltry42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #544 on March 30, 2021 09:54.