coreos - Kubernetes pods can't connect between machines -


i used node.yaml , master.yaml files here: http://kubernetes.io/v1.1/docs/getting-started-guides/coreos/coreos_multinode_cluster.html create multi-node cluster on 3 bare-metal machines running coreos. however, pods on different nodes can’t communicate each other. i’d appreciate pointers or suggestions. i’m @ loss.

i have 3 pods running rabbitmq:

thuey:~ thuey$ kbg pods | grep rabbitmq rabbitmq-bootstrap     1/1       running   0          3h rabbitmq-jz2q7         1/1       running   0          3h rabbitmq-mrnfc         1/1       running   0          3h 

two of pods on 1 machine:

kbd node jolt-server-3 | grep rabbitmq thuey               rabbitmq-bootstrap      0 (0%)      0 (0%)      0 (0%)      0 (0%) thuey               rabbitmq-jz2q7          0 (0%)      0 (0%)      0 (0%)      0 (0%) 

and other pod on machine:

thuey:~ thuey$ kbd node jolt-server-4 | grep rabbitmq thuey               rabbitmq-mrnfc          0 (0%)      0 (0%)      0 (0%)      0 (0%) 

i can ping rabbitmq-bootstrap rabbitmq-jz2q7:

root@rabbitmq-bootstrap:/# ping 172.17.0.5 ping 172.17.0.5 (172.17.0.5) 56(84) bytes of data. 64 bytes 172.17.0.5: icmp_seq=1 ttl=64 time=0.058 ms 64 bytes 172.17.0.5: icmp_seq=2 ttl=64 time=0.035 ms 64 bytes 172.17.0.5: icmp_seq=3 ttl=64 time=0.064 ms 64 bytes 172.17.0.5: icmp_seq=4 ttl=64 time=0.055 ms ^c --- 172.17.0.5 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.035/0.053/0.064/0.010 ms 

but can't ping rabbitmq-mrnfc:

root@rabbitmq-bootstrap:/# ping 172.17.0.8 ping 172.17.0.8 (172.17.0.8) 56(84) bytes of data. 172.17.0.2 icmp_seq=1 destination host unreachable 172.17.0.2 icmp_seq=2 destination host unreachable 172.17.0.2 icmp_seq=3 destination host unreachable 172.17.0.2 icmp_seq=4 destination host unreachable ^c --- 172.17.0.8 ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms pipe 4 

the guide use don't include instructions bare-metal machines. need networking (e.g., flannel, calico) implements kubernetes's networking model. can check table of solutions getting-started guides different iaas/os/network combinations.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -