You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit this problem too and did some digging. Seems like the templates used for the canal ConfigMap are missing the placeholder values for the canal_flannel_backed_vni and canal_flannel_backend_port settings.
I've opened a PR in rancher/kontainer-driver-metadata to add these missing placeholders, but also found that I could use my changes locally by running go generate and getting RKE to load the resulting data.json with RANCHER_METADATA_URL=data/data.json rke ...
This issue/PR has been automatically marked as stale because it has not had activity (commit/comment/label) for 60 days. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
The support to config Flannel backend was first introduced by #1290 .
This feature is described in the documentation via this PR rancher/docs#2824 . However, this commit appears to have been removed as it was not available in the online documentation.
Although the code about Flannel Backend is still reserved in RKE, the configuration of Flannel Backend cannot take effect due to the canal template in kdm.
Here is a workaround. Modify net-conf.json in configmap canal-config under kube-system ns, and then redeploy canal daemonset.
RKE version:
v1.1.1
Docker version: (
docker version
,docker info
preferred)Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
cluster.yml file:
cluster.yml.txt
Steps to Reproduce:
Change default vni and port for network provider and
rke up
Results:
kubectl -n kube-system get configmaps canal-config -o json
returns default values for port and interface identifier.The text was updated successfully, but these errors were encountered: