contiv/vpp

Contiv cleaning up configuration from other CNI plugins

Closed this issue · 2 comments

Are there any plans to be compatible with running alongside other CNI plugins in Kubernetes? Currently Contiv VPP removes all other CNI configuration files when deployed though the install.sh script in vpp-cni:

# Erase all existing CNI config files.
echo "Erasing old CNI config in ${HOST_CNI_NET_DIR}"
rm -rf ${HOST_CNI_NET_DIR}/*

Currently it requires some workaround during Contiv deployment to make sure it doesn't clean up all configuration from other CNI plugins.

Sorry if this question has been asked before but I could not find any answers when searching.

Any thoughts on this @rastislavszabo ?

I could make some simple pull request to toggle the clean-up of CNI configuration if there is any interest.

Hi @gylleus , sure, feel free to open a PR.
I guess we should be good enough with removing the contiv-vpp conf file.