This should be part of docs - if you used kubeadm, please file a bug against it.
On Sun, Mar 26, 2017 at 10:03 PM, <eden...@unity3d.com> wrote: > On Sunday, March 26, 2017 at 7:09:26 PM UTC+8, ede...@unity3d.com wrote: >> On Saturday, March 25, 2017 at 7:29:25 AM UTC+8, Tim Hockin wrote: >> > Can you file this as a github issue and include as much detail as you >> > can? Also can you run `gcloud compute instances describe` for a few >> > of your nodes and include the `tags` block ? >> > >> > On Fri, Mar 24, 2017 at 3:56 AM, <eden...@unity3d.com> wrote: >> > > Hi, we use kubeadm to deploy k8s(1.5.5) on GCE. everything works fine >> > > except one issue. >> > > >> > > when we expose service , type=loadbalancer, we got error as below. >> > > >> > > Warning CreatingLoadBalancerFailed {service-controller } >> > > Error creating load balancer (will retry): Failed to create load >> > > balancer for service default/nginx: No node tags supplied and also >> > > failed to parse the given lists of hosts for tags. Abort creating >> > > firewall rule. >> > > >> > > >> > > it works well if we use GKE. >> > > >> > > any suggestions? >> > > >> > > -- >> > > 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. >> >> thanks Tim. here is the tag block of one block. the 3 tags listed below are >> manually added by me. the tag is empty when the node is created. for github >> issue, can you tell me where should I add it? >> >> tags: >> fingerprint: ktJRg6V2t0o= >> items: >> - kube-us-node >> - kube-us-node-0 >> - kube-us >> zone: >> https://www.googleapis.com/compute/v1/projects/k8s-testing-160305/zones/us-west1-a > > I think I know the reason. > 1. we should create tag for each node > 2. then any pod should be recreated after tag creation > 3. then expose service as loadbalancer, that will work > > -- > 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. -- 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.