Disable IP alias handling in google-network-daemon
Closed this issue · 1 comments
ldx commented
On GCE, we use an alias IP for the pod. However, google-network-daemon sets up a /32 route with the alias IP in the local route table by default, rendering pod networking unusable.
The solution is to disable IP alias handling:
$ sudo sed -i 's/^ip_aliases.*$/ip_aliases = false/g' /etc/default/instance_configs.cfg
$ sudo systemctl restart google-network-daemon.service
Probably we want to do this in itzo if google-network-daemon is detected on the instance.
jrroman commented
I have made this fix in kip via a startup script in the instances metadata. It can be seen here at commit elotl/kip@12f0774
@ldx I believe we can file this as closed.