Skip to content

Commit

Permalink
docs: DOC-1261 cilium issue (#3171)
Browse files Browse the repository at this point in the history
* docs: DOC-1261 cilium issue

* docs: updated know issue

* docs: Apply suggestions from code review

Co-authored-by: Adelina Simion <[email protected]>

* chore: fix format

---------

Co-authored-by: Adelina Simion <[email protected]>
  • Loading branch information
karl-cardenas-coding and addetz authored Jun 27, 2024
1 parent c747a3d commit d37372c
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 32 deletions.
56 changes: 50 additions & 6 deletions docs/docs-content/integrations/cilium.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,25 @@ policies are applied and updated independent of the application code or containe
The Cilium agent runs on all clusters and servers to provide networking, security and observability to the workload
running on that node.

## Prerequisite
## Versions Supported

- If the user is going for the BYO (Bring your own) Operating system use case then, HWE (Hardware Enabled) Kernel or a
Kernel that supports [eBPF](https://ebpf.io/) modules needs to be provisioned.
<Tabs>
<TabItem label="1.15.x" value="1.15.x">

**Palette OS images are by default provisioned with the above pre-requisite.**
## Prerequisite

## Versions Supported
- If you are using Bring Your Own Operating System (BYOOS), then HWE (Hardware Enabled) Kernel or a Kernel that supports
[eBPF](https://ebpf.io/) modules needs to be provisioned.

<Tabs>
</TabItem>

<TabItem label="1.14.x" value="1.14.x">

## Prerequisite

- If you are using Bring Your Own Operating System (BYOOS), then HWE (Hardware Enabled) Kernel or a Kernel that supports
[eBPF](https://ebpf.io/) modules needs to be provisioned.

</TabItem>
<TabItem label="Deprecated" value="Deprecated">

Expand All @@ -44,6 +50,44 @@ All versions below version 1.14.x are deprecated. We recommend you to upgrade to

</Tabs>

## Troubleshooting

Review the following common issues and solutions when using the Cilium network pack.

### I/O Timeout Error on VMware

If you are deploying a cluster to a VMware environment using the VXLAN tunnel protocol, you may encounter I/O timeout
errors. This is due to a known bug in the VXMNET3 adapter that results in VXLAN traffic being dropped. You can learn
more about this issue in Cilium's [GitHub issue #21801](https://github.com/cilium/cilium/issues/21801).

You can work around the issue by using one of the two following methods:

- Option 1: Set a different tunnel protocol in the Cilium configuration. You can set the tunnel protocol to `geneve`.

```yaml
charts:
cilium:
tunnelProtocol: "geneve"
```
- Option 2: Modify the Operating System (OS) layer of your cluster profile to automatically disable UDP Segmentation
Offloading (USO).
```yaml
kubeadmconfig:
preKubeadmCommands:
# Disable hardware segmentation offloading due to VMXNET3 issue
- |
install -m 0755 /dev/null /usr/lib/networkd-dispatcher/routable.d/10-disable-offloading
cat <<EOF > /usr/lib/networkd-dispatcher/routable.d/10-disable-offloading
#!/bin/sh
ethtool -K eth0 tx-udp_tnl-segmentation off
ethtool -K eth0 tx-udp_tnl-csum-segmentation off
ethtool --offload eth0 rx off tx off
EOF
systemctl restart systemd-networkd
```
## References
- [Cilium Documentation](https://docs.cilium.io/en/stable)
Loading

0 comments on commit d37372c

Please sign in to comment.