kubectl udp loadbalancer issue

2/4/2016

I'm having some issues with gcloud setting up a container and trying to use a loadbalancer

The problem is that I need it by udp and not tcp

I use this:

kubectl run mserver --image=gcr.io/${PROJECT_ID}/mserver:v1 --port=28000
kubectl expose rc mserver --protocol=UDP --type="LoadBalancer"

using --protocol=UDP I receive this:

spec.ports[0].protocol: invalid value 'UDP', Details: cannot create an external load balancer with non-TCP ports

Any idea about if it's possible to create a load balancer by udp?

-- sergio
google-cloud-platform
kubernetes

1 Answer

2/11/2016

This limitation is fixed in the next (v1.2) release of Kubernetes, for those clouds that support UDP load-balancing.

-- Tim Hockin
Source: StackOverflow