openstack magnum kubernetes load balancer

Ignazio Cassano ignaziocassano at gmail.com
Fri Dec 28 17:32:24 UTC 2018


Hello All,
I created a kuberneted cluster with magnum.
Than I would like to create a load balancer for nginx:

kubectl run nginx --image=nginx --replicas=2 --port=80
kubectl expose deployment nginx --target-port=80 --type=LoadBalancer

But kubectl get service gives:

kubernetes   ClusterIP      10.254.0.1       <none>        443/TCP
152m
nginx        LoadBalancer   10.254.161.102   <pending>     80:30648/TCP
2m58s

If I use NodePort instead of LoadBalancer it works.
Does kubernetes requires octavia ?
I am using loadbalance v2 without octavia.
Regards
Ignazio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181228/8ed518d9/attachment.html>


More information about the openstack-discuss mailing list