I'm having a weird issue with k8s and weave. I'm still new on k8s, I will try to explain my issue as accurate as possible.
We have 2 namespaces set up on k8s. One service(service 1) has CIDR: 10.32.0.0/22, another service(service 2) has CIDR: 172.168.0.0/16. I added a new node to existing cluster. I installed kubelet, kubeadm and kubectl on the new node. I ran kubeadm join command and the new added node show up correctly, and weave has started container inside new node successfully too.
However, I checked route table of the node, one of the service CIDR is not added. This is weird, why ip of service 2 is added to route but ip of service 1 is not added?
I manually ran route add -net 10.32.0.0/12 dev weave
to include service 1's ip and everything works fine now. What kind of config I'm missing here?
Any advice is appreciated.
kubernetes version:1.7.3