Closed BurlyLuo closed 2 weeks ago
Hello Team:
cat <<EOF | kubectl apply -f - apiVersion: "k8s.cni.cncf.io/v1" kind: NetworkAttachmentDefinition metadata: name: macvlan-whereabouts-tuning-conf spec: config: '{ "cniVersion": "0.3.1", "name": "tuningexample", "plugins": [ { "type": "macvlan", "master": "eth0", "mode": "bridge", "ipam": { "type": "whereabouts", "range": "15.15.1.200-15.15.1.205/24", "gateway": "15.15.1.1", "route": [ { "dst": "0.0.0.0/0" }] } }, { "type": "tuning", "sysctl": { "net.core.somaxconn": "500", "net.ipv4.conf.eth1.arp_filter": "1" } }, { "type": "sbr" } ] }' EOF
For this case: when the tuning for sysctl
"sysctl": { "net.core.somaxconn": "500", "net.ipv4.conf.eth1.arp_filter": "1" }
be executed. my focus is before the interface up or after it? there is one issue about IPV6 RS RA.
Tested. before the interface up. pls take reference: https://gitee.com/rowan-wcni/wcni-kind/tree/master/LabasCode/multus/10-kind-multus-macvlan-sbr-with-tuning
https://gitee.com/rowan-wcni/wcni-kind/tree/master/LabasCode/multus/10-kind-multus-macvlan-sbr-with-tuning
Hello Team:
For this case: when the tuning for sysctl
be executed. my focus is before the interface up or after it? there is one issue about IPV6 RS RA.