Kubernetes uses the multus plugin to add subinterfaces and fix the ip

apiVersion: “k8s.cni.cncf.io/v1” kind: NetworkAttachmentDefinition metadata:  name: macvlan8  namespace: multicast spec:  config: ‘{    “cniVersion”: “0.3.1”,    “plugins”: [      {        “type”: “macvlan”,        “capabilities”: { “ips”: true },        “master”: “eth1”,        “mode”: “bridge”,        “ipam”: {          “type”: “static”,          “addresses”: [              {                  “address”: “192.168.25.62/22”,                  “gateway”: “192.168.27.254”              }          ],          “routes”: [              { “dst”: “192.168.24.0/22”, “gw”: “192.168.27.254” },              { “dst”: “192.168.5.0/24” }          ]        } […]

Kubernetes uses the multus plugin to add subinterfaces and fix the ip Read More »