说明
操作
启用标志
yum -y install net-tools.x86_64
ifconfig | grep vxlan
cilium_vxlan: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
修改相关配置
ks get cm cilium-config -oyaml | grep -E 'tunnel|ipv4-native-routing-cidr|auto-direct-node-routes|bpf-lb-mode'
auto-direct-node-routes: "true"
bpf-lb-mode: dsr
ipv4-native-routing-cidr: 245.0.0.0/8
tunnel: disabled
重启所有cilium相关组件
ks delete $(ks get po -oname | grep cilium)
禁用标志
ifconfig | grep vxlan