<p>I am trying to deploy a pod with second interface using multus-cni. However, when I deploy my pod I only see just one interface the main one. The secondary interface is not created.</p>
<p>I followed the steps in the quick start guide to install multus.</p>
<p>Environment:
minikube v1.12.1 on Microsoft Windows 10 Enterprise
Kubernetes v1.18.3 on Docker 19.03.12</p>
<p><strong>Multus version</strong>
--cni-version=0.3.1</p>
<p><strong>$00-multus.conf</strong></p>
<pre><code>{ &quot;cniVersion&quot;: &quot;0.3.1&quot;, &quot;name&quot;: &quot;multus-cni-network&quot;, &quot;type&quot;: &quot;multus&quot;, &quot;kubeconfig&quot;: &quot;/etc/cni/net.d/multus.d/multus.kubeconfig&quot;, &quot;delegates&quot;: [ { &quot;cniVersion&quot;: &quot;0.3.1&quot;, &quot;name&quot;:
&quot;bridge&quot;, &quot;type&quot;: &quot;bridge&quot;, &quot;bridge&quot;: &quot;bridge&quot;, &quot;addIf&quot;: &quot;true&quot;, &quot;isDefaultGateway&quot;: true, &quot;forceAddress&quot;: false, &quot;ipMasq&quot;: true, &quot;hairpinMode&quot;: true, &quot;ipam&quot;: { &quot;type&quot;: &quot;host-local
&quot;, &quot;subnet&quot;: &quot;10.244.0.0/16&quot; } } ] }
</code></pre>
<p><strong>$1-k8s.conf</strong></p>
<pre><code>{
&quot;cniVersion&quot;: &quot;0.3.1&quot;,
&quot;name&quot;: &quot;bridge&quot;,
&quot;type&quot;: &quot;bridge&quot;,
&quot;bridge&quot;: &quot;bridge&quot;,
&quot;addIf&quot;: &quot;true&quot;,
&quot;isDefaultGateway&quot;: true,
&quot;forceAddress&quot;: false,
&quot;ipMasq&quot;: true,
&quot;hairpinMode&quot;: true,
&quot;ipam&quot;: {
&quot;type&quot;: &quot;host-local&quot;,
&quot;subnet&quot;: &quot;10.244.0.0/16&quot;
}
}
</code></pre>
<p><strong>$87-podman-bridge.conflist</strong></p>
<pre><code>{
&quot;cniVersion&quot;: &quot;0.4.0&quot;,
&quot;name&quot;: &quot;podman&quot;,
&quot;plugins&quot;: [
{
&quot;type&quot;: &quot;bridge&quot;,
&quot;bridge&quot;: &quot;cni-podman0&quot;,
&quot;isGateway&quot;: true,
&quot;ipMasq&quot;: true,
&quot;hairpinMode&quot;: true,
&quot;ipam&quot;: {
&quot;type&quot;: &quot;host-local&quot;,
&quot;routes&quot;: [{ &quot;dst&quot;: &quot;0.0.0.0/0&quot; }],
&quot;ranges&quot;: [
[
{
&quot;subnet&quot;: &quot;10.88.0.0/16&quot;,
&quot;gateway&quot;: &quot;10.88.0.1&quot;
}
]
]
}
},
{
&quot;type&quot;: &quot;portmap&quot;,
&quot;capabilities&quot;: {
&quot;portMappings&quot;: true
}
},
{
&quot;type&quot;: &quot;firewall&quot;
},
{
&quot;type&quot;: &quot;tuning&quot;
}
]
}
</code></pre>
<p><strong>$multus.kubeconfig</strong></p>
<pre><code>apiVersion: v1
kind: Config
clusters:
- name: local
  cluster:
    server: https://[10.96.0.1]:443
    certificate-authority-data: .....
users:
- name: multus
  user:
    token: .....
contexts:
- name: multus-context
  context:
    cluster: local
    user: multus
current-context: multus-context

File of '/etc/cni/multus/net.d'

**NetworkAttachment info:**

    cat &lt;&lt;EOF | kubectl create -f -
    apiVersion: &quot;k8s.cni.cncf.io/v1&quot;
    kind: NetworkAttachmentDefinition
    metadata:
    name: macvlan-conf
    spec:
    config: '{
    &quot;cniVersion&quot;: &quot;0.3.1&quot;,
    &quot;type&quot;: &quot;macvlan&quot;,
    &quot;master&quot;: &quot;eth1&quot;,
    &quot;mode&quot;: &quot;bridge&quot;,
    &quot;ipam&quot;: {
    &quot;type&quot;: &quot;host-local&quot;,
    &quot;subnet&quot;: &quot;192.168.1.0/24&quot;,
    &quot;rangeStart&quot;: &quot;192.168.1.200&quot;,
    &quot;rangeEnd&quot;: &quot;192.168.1.216&quot;,
    &quot;routes&quot;: [
    { &quot;dst&quot;: &quot;0.0.0.0/0&quot; }
    ],
    &quot;gateway&quot;: &quot;192.168.1.1&quot;
    }
    }'
    EOF
</code></pre>
<p><strong>Pod yaml info:</strong></p>
<pre><code>cat &lt;&lt;EOF | kubectl create -f -
apiVersion: v1
kind: Pod
metadata:
name: samplepod
annotations:
k8s.v1.cni.cncf.io/networks: macvlan-conf
spec:
containers:
    name: samplepod
    command: [&quot;/bin/ash&quot;, &quot;-c&quot;, &quot;trap : TERM INT; sleep infinity &amp; wait&quot;]
    image: alpine
    EOF
</code></pre>

<p>I installed new minikube version, now adding secondary interface seems to be fine.</p>
