mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-06-26 07:41:39 +00:00
Describe additional condition when using clusterNetwork
When configuring `clsuterNetwork` in Multus CNI config, the value for `clusterNetwork` needs to match the value for `name` key in the file `clusterNetwork` setting refers to. This condition is undocumented in doc/configuration.md. This PR adds description on the condition for users to understand `clusterNetwork` config more clearly. Signed-off-by: Sho SHIMIZU <sho.shimizu@gmail.com>
This commit is contained in:
parent
6abe8ee06b
commit
2ba3d3cda2
@ -60,7 +60,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, in 'kube-system' namespace
|
||||
1. CNI json config file in `confDir`. Given name should be without extention, like .conf/.conflist. (e.g. "test" for "test.conf")
|
||||
1. CNI json config file in `confDir`. Given name should be without extention, like .conf/.conflist. (e.g. "test" for "test.conf"). The given name for `clusterNetwork` should match the value for `name` key in the config file (e.g. `"name": "test"` in "test.conf" when `"clusterNetwork": "test"`)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user