Please check this feature merged into used 1.17
This feature is new and maybe not merged k8s or load balancer controller.



On Tue, Aug 4, 2020 at 7:01 PM Ewgeny Berladin <ewgeny84@gmail.com> wrote:
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
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users