flannel icon indicating copy to clipboard operation
flannel copied to clipboard

Can flannel set forceAddress parameters?

Open tanberBro opened this issue 7 months ago • 5 comments

Expected Behavior

I want to add a forceAddress parameter to the parameter passed to bridge cni so that he can perform the following logic: image

Current Behavior

My current configuration does not have forceAddress parameters. In some cases, the pod reported an error: 企业微信截图_06982571-b90e-4e0d-bbbc-e755fe21c8a8

Possible Solution

Set forceAddress parameters in flannel config.

Context

The reason why the pod reports an error is: This node was originally a node in cluster 1, but now it has become a node in cluster 2, causing the subnet to change.

Your Environment

  • Flannel version: v0.20.2
  • Backend used (e.g. vxlan or udp): vxlan
  • Kubernetes version (if used): v1.24.10
  • Operating System and version: centos7

tanberBro avatar Dec 25 '23 05:12 tanberBro