aledbf / kube-keepalived-vip

Kubernetes Virtual IP address/es using keepalived
Apache License 2.0
188 stars 75 forks source link

Option to use node InternalIP #73

Open macarpen opened 5 years ago

macarpen commented 5 years ago

I'm getting the following error message:

F1206 17:21:31.627179       7 main.go:373] Error getting local IP from nodes in the cluster: no matching interface found for IP a.b.c.d

where a.b.c.d is the ExternalIP of my node. This node is running inside of OpenStack so the ExternalIP is the floating IP and therefore not configured locally on the node. In this case the VIP needs to be associated with the interface of the InternalIP. Would it be possible to make this an option that could be provided through the configmap?