-
Notifications
You must be signed in to change notification settings - Fork 114
contiv-vpp can not start up when kube-proxy with ipvs mode #1430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, |
@rastislavszabo thanks for the info. And another thing is HA for contiv-etcd, deafult yaml is using statefulset with one etcd, there would be HA risk in the case with multi k8s master. Do we have plan to make it in full HA and with TLS support to etcd? |
TLS support for ETCD is documented here: https://github.com/contiv/vpp/blob/master/docs/setup/ETCD_SECURITY.md As for the multi-master, we plan to add support for it (not supported yet). In that case, we would most likely rely on ETCD cluster configured by the administrator instead of the one that we provide via statefulset. |
@rastislavszabo thanks for the info, nice to know. |
Hi, |
@rastislavszabo I would try it today, and update here if there is any issue, appreciate your help! |
@rastislavszabo [root@ams-dev-ctrl001 ~]# kubectl get pods -o wide --all-namespaces | grep contiv Thanks it for your helps, but before moving to forward, we would use external etcd cluster to instead of one stateful set. contiv-etcd is still single point of failure. |
Issue:
In the default contiv-vpp configure, contiv-etcd will start up with nodeport, and other conponent will connect to 127.0.0.1:$ETCDPORT to access etcd. But when kube-proxy enable ipvs, it does not support localhost:Nodeport now [1].
So if you deploy contiv-vpp with ipvs the default yaml in [2] will not work, such as, It will wait for 127.0.0.1:$ETCDPORT , if the pod not on the same host of contiv-etcd, it will failed here.(this is normal case if you have 3 kube-master)
command: ['sh', '-c', 'until nc -w 2 127.0.0.1:$ETCDPORT; do echo waiting for etcd; sleep 2; done;']
[1] kubernetes/kubernetes#67730
[2] https://github.com/contiv/vpp/blob/master/k8s/contiv-vpp.yaml
The text was updated successfully, but these errors were encountered: