How did you set up your cluster? The LoadBalancer type is not supported everywhere, e.g. when using kubeadm.
On Wednesday, August 16, 2017 at 11:08:39 PM UTC+2, Snd LP wrote: > > [ansible@kctl-master kubectl]$ sudo kubectl get services > NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE > kubernetes 10.254.0.1 <none> 443/TCP 43s > nginx-ingress 10.254.39.207 <pending> 80:32102/TCP 1m > [ansible@kctl-master kubectl]$ > > after running, > > trying to have a virtual-ip not being used by this or any nodes for HA. > > [ansible@kctl-master kubectl]$ cat 0-ingress.yaml > apiVersion: v1 > kind: Service > metadata: > name: nginx-ingress > spec: > type: LoadBalancer > ports: > - port: 80 > name: http > nodePort: 32102 > selector: > k8s-app: nginx-ingress-lb > [ansible@kctl-master kubectl]$ > -- 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+unsubscr...@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.