Skip to content

Comments

networkd: Add settings for Calico's IP-in-IP tunnel#26

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/calico-no-tx-offload
Sep 11, 2020
Merged

networkd: Add settings for Calico's IP-in-IP tunnel#26
pothos merged 1 commit intoflatcar-masterfrom
kai/calico-no-tx-offload

Conversation

@pothos
Copy link
Member

@pothos pothos commented Sep 11, 2020

The tunnel interface tunl0 was getting the default setup of DHCP
and TX offload. Since Calico set up the IP address, the interface
was working but thought to be in "configuring" state by networkd
which is harmless but still not optimal. Recently the TX offload
caused Pod-to-Pod communication through the tunnel to break because
the checksums were not calculated.
Set the tunnel interface to be not managed by networkd's default
setup with DHCP. Disable the TX offload to enforce checksum
calculation.
See flatcar/Flatcar#183

How to use

Schedule two Kubernetes Pods on one node each with Calico and send UDP or TCP packets.

Testing done

The files were manually placed on the node under /etc/systemd/network.

The tunnel interface tunl0 was getting the default setup of DHCP
and TX offload. Since Calico set up the IP address, the interface
was working but thought to be in "configuring" state by networkd
which is harmless but still not optimal. Recently the TX offload
caused Pod-to-Pod communication through the tunnel to break because
the checksums were not calculated.
Set the tunnel interface to be not managed by networkd's default
setup with DHCP. Disable the TX offload to enforce checksum
calculation.
See flatcar/Flatcar#183
@pothos pothos requested a review from a team September 11, 2020 12:26
Copy link
Contributor

@margamanterola margamanterola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@t-lo t-lo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Please cherry-pick the build recipe update in coreos-overlay to flatcar-2605, too.

Copy link
Member

@vbatts vbatts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pothos pothos merged commit 09193a6 into flatcar-master Sep 11, 2020
@pothos pothos deleted the kai/calico-no-tx-offload branch September 11, 2020 13:19
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Sep 11, 2020
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Sep 11, 2020
jepio pushed a commit that referenced this pull request Feb 21, 2022
dracut: issue a kernel panic on dm-verity corruption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants