Skip to content

Can't expose UDP on AWS EKS #17

@eberladin

Description

@eberladin

Is any way to make SIP in Kubernetes work on AWS ?
When i do expose my Kamailio outside:
k expose deployment kamailio-sip --name kamailio-sip-udp --type LoadBalancer --port 5060 --target-port 5060 --protocol UDP

It doesn't work on AWS EKS, i got ERROR:
Warning SyncLoadBalancerFailed 4m57s (x16 over 55m) service-controller Error syncing load balancer: failed to ensure load balancer: Protocol UDP not supported by LoadBalancer

And if even i make it work with manually configured AWS NLB, the SIP routing is broken:

reqest:
SIP UAC --> sip --> AWS LB -> sip --> pod
reply:
pod --> sip --> default route --> SIP UAC

Bob--------------------------AWS LB----------------------SIP Pod-----------EKS node external ip
|-----------REGISTER------- >| -------REGISTER---------- >|
|<----------------------------------200 OK-------------------------------------------|

The SIP reply messages going directly via k8s node external IP.
Thanks for any recomendations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions