Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't expose UDP on AWS EKS #17

Open
eberladin opened this issue Sep 18, 2020 · 0 comments
Open

Can't expose UDP on AWS EKS #17

eberladin opened this issue Sep 18, 2020 · 0 comments

Comments

@eberladin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant