sergio
sergio

Reputation: 21

kubectl udp loadbalancer issue

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?

Upvotes: 1

Views: 615

Answers (1)

Tim Hockin
Tim Hockin

Reputation: 3662

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

Upvotes: 1

Related Questions