[SR-Users] Kamailio Kubernetes AWS NLB UDP

Ewgeny Berladin ewgeny84 at gmail.com
Tue Aug 4 17:59:04 CEST 2020


Hi  !

Does anyone have success Kamailio deployments via service on AWS EKS with UDP port exposing ?

apiVersion: v1
kind: Service
metadata:
  name: sip-proxy
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
spec:
  selector:
    app: kamailio-sip
  externalTrafficPolicy: Local
  type: LoadBalancer
  ports:
    - name: sip-up
      protocol: UDP
      port: 5060

As result we have this ERROR:
----     ------                  ----                   ----                -------
  Normal   EnsuringLoadBalancer    3m20s (x7 over 8m35s)  service-controller  Ensuring load balancer
  Warning  SyncLoadBalancerFailed  3m20s (x7 over 8m35s)  service-controller  Error syncing load balancer: failed to ensure load balancer: Only TCP LoadBalancer is supported for AWS ELB

As I know this is a BUG in AWS EKS.
Maybe there’s some workarounds ?

Kubernetes v 1.17

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200804/ab24fd73/attachment.htm>


More information about the sr-users mailing list