D.3. balance-tcp 模式的注意事项
如果您决定使用 balance-tcp 模式,尽管其技术预览状态和已知的性能问题,您必须在部署前从每个网络接口配置(NIC)文件中手动删除以下行:
constraints: - allowed_pattern: "^((?!balance.tcp).)*$" description: | The balance-tcp bond mode is known to cause packet loss and should not be used in BondInterfaceOvsOptions.
从每个 NIC 文件中删除约束后,您可以在绑定接口参数中设置绑定模式选项:
BondInterfaceOvsOptions: "bond_mode=balance-tcp"