clusterNetwork/defaultNetworks and namespace spec fixed

This fix is to add declaration about clusterNetwork/defaultNetwork
net-attach-def is in 'default' namesspace. In addition, this code
changes to skip defaultNetwork in case of 'kube-system' namespace
as well (#202).
This commit is contained in:
Tomofumi Hayashi
2018-11-30 16:33:09 +09:00
committed by Tomofumi Hayashi
parent 887a9f42dd
commit e05de6260b
3 changed files with 77 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ User should chose following parameters combination (`clusterNetwork`+`defaultNet
Multus will find network for clusterNetwork/defaultNetworks as following sequences:
1. CRD object for given network name
1. CRD object for given network name, in 'default' namespace
1. CNI json config file in `confDir`. Given name should be without extention, like .conf/.conflist. (e.g. "test" for "test.conf")
1. Directory for CNI json config file. Multus will find alphabetically first file for the network
1. Multus failed to find network. Multus raise error message