Aws-load-balancer-controller: Support GRPCs protocol

Created on 21 Mar 2019  路  4Comments  路  Source: kubernetes-sigs/aws-load-balancer-controller

Hi, I set up the blockchain system, using hyperledger. I want to public some services with GRPCs protocol to others service connect through aws-alb-ingress-controller, but as I know, alb only public with HTTP/HTTPS protocol, so our services from outside cannot connect with ALB.
Below is our ingress.yaml file:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: "admin-ingress"
  namespace: "orderer"
  annotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/scheme: internet-facing
  labels:
    app: akcadmin-ingress
spec:
  rules:
    - http:
        paths:
          - path: /*
            backend:
              serviceName: "admin"
              servicePort: 4001

Could you help me to figure it out? Many thanks!

All 4 comments

Up! Any idea??

You're probably going to want to use NLBs for pure GRPC - ALBs terminate the HTTP/2 connection and send downstream HTTP1/1 connections to servers. If an ALB is a must, you could try using GRPC Web like outlined here -> https://blog.argoproj.io/how-to-eat-the-grpc-cake-and-have-it-too-77bc4ed555f6

Hi,
There is current no native GRPC support from alb.
It's on roadmap is ALB team is activaly working on it currently.

Was this page helpful?
0 / 5 - 0 ratings