0

For my Kubernetes nodes, I see following entry with a star under the interface column. I do not see this mentioned in "route" command's documentation. The only star mentioned there is for gateway. This entry has been created by Calico for the gateway on current VM.

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 --- 0.0.0.0 --- 255.255.255.0 --- U --- 0 --- 0 --- 0 --- *

I have attached the output of route and "ip route" commands.


enter image description here

1 Answers1

0

An * under the interface column in output of route command denotes a blackhole destination. In this particular case of a route created by Calico, it causes BIRD to export that route to its BGP peers(on other worker VMs), so that those peers think they can reach the CIDR via this node. For local routing it's not supposed to come into play, because we expect that iptables rules programmed by kube-proxy will DNAT to an actual pod IP.


Source : https://github.com/projectcalico/calico/issues/2457#issuecomment-468767265