-
Notifications
You must be signed in to change notification settings - Fork 591
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
add more description for whole multus.conf to clarify its requirements #139
Comments
Right. multus itself does not provide any network interface to container. We also plan to set default network as network attachment definition in future, but it is not yet, so |
@s1061123, I got your point, that is: Currently we must set a default delegate, no matter pod have annotation of network or not. What i am trying to do is use annotations to ensure every pod have one or more interface. Further more, I may need some pods have master network with flannel, and some other pods have master network with macvlan. Is that possible? |
@soyuutaku I am not clear that the difference between default delegate and master network in your comment. I feel master network and default delegate points same network and this master network is connected to kubernetes API network, too. Currently multus provides to add one ore more 'extra networks' with one default delegates to the pod. |
some how related to #131 issue as well.. Good to see this conversation. |
@s1061123. My understanding is follow steps below, I can have two pods with only one network interface, and the interfaces are in different networks. Is that right?
|
@soyuutaku Let me explain what the default delegate is. Let's see following 'just-simple-pod' and imagine we run it in 'usual k8s, without multus'.
|
@s1061123 , I get your point. Kubernetes need pod have at least one interface so that kubernetes can manage it. I wonder if kubernetes can manage pods on different network? Let say Pod A have flannel as default delegate, and Pod B have macvlan as default delegate. If kubernetes need all pods have a unify interface to be default delegate, then this section of Readme file may misleading users by given a config file without delegate. |
@soyuutaku Multus also supports to load network config from json file in 'defaultConfDir', /etc/cni/multus/net.d. In this case, but your mention to document seems to be good suggestion to clarify configuration. So can we change the issue subject to clarify it, as "add more description for whole multus.conf to clarify its requirements" or some stuff? |
@s1061123 Sounds good. We need some more description for multus.conf. |
I've changed the subject and add some small description in the top. |
Close the issue because #191 update the document up-to-date. |
@s1061123 add:
This issue is to address that current README.md improvement so that reader don't misunderstand that minimum requirements for multus.conf, especially in https://github.com/intel/multus-cni#configuring-multus-to-use-the-kubeconfig
------------------------------ Original description --------------------
I'm using master branch to deploy multus. When i set the config file with:
I cannot start a pod with network annotation.
From logs, it said that
at least one delegate must be specified
.Do I have to set a default delegate to use multus?
The text was updated successfully, but these errors were encountered: