I am trying to run a very simple UDP service in kubernetes on Google Cloud but am unable to access the port I am exposing to the internet. Here is the deployment and service file: Deployment.yaml
Service.yaml:
This create the load balancer in google cloud with the correct port exposed. Like so: But when i try to access the port it's unaccessible. I have tried a few variations in GCE to expose udp port but none seem to be working.
|
--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
➜ ~ kubectl get svc
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes 10.11.240.1 <none> 443/TCP 6m
udp 10.11.249.164 35.225.148.180 12345:31357/UDP 3m
➜ ~
➜ ✗ nc -u 35.225.148.180 12345
➜ ✗ telnet 35.225.148.180 12345
Trying 35.225.148.180...
telnet: connect to address 35.225.148.180: Operation timed out
telnet: Unable to connect to remote host
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.