Skip to content

Raise eBPF dataplane minimum kernel to v5.10#2586

Open
tomastigera wants to merge 3 commits intotigera:mainfrom
tomastigera:ebpf-min-kernel-5.10
Open

Raise eBPF dataplane minimum kernel to v5.10#2586
tomastigera wants to merge 3 commits intotigera:mainfrom
tomastigera:ebpf-min-kernel-5.10

Conversation

@tomastigera
Copy link
Contributor

Summary

  • Raise eBPF dataplane minimum kernel from v5.3 to v5.10 (RHEL: v4.18.0-193 → v4.18.0-305 / RHEL 8.4)
  • Update minimum Ubuntu from 20.04 to 22.04 (first LTS shipping kernel 5.10+)
  • Remove XDP acceleration row from feature table (v4.16 is below new minimum)
  • Simplify CO-RE warning since v5.10 already includes CO-RE support (v5.8+)

Test plan

  • Verify eBPF install pages render correctly for Calico, Calico Enterprise, and Calico Cloud
  • Confirm kernel version table no longer lists XDP (v4.16) row
  • Confirm all references to v5.3, v4.18.0-193, RHEL 8.2, and Ubuntu 20.04 are updated in latest + latest versioned docs

🤖 Generated with Claude Code

Drop support for kernels older than 5.10 for the eBPF dataplane.
Update minimum to v5.10 (RHEL 8.4 / v4.18.0-305), Ubuntu 22.04,
remove XDP row from feature table (v4.16 is below new minimum),
and simplify CO-RE warning since v5.10 already includes CO-RE.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tomastigera tomastigera requested a review from a team as a code owner March 11, 2026 20:08
Copilot AI review requested due to automatic review settings March 11, 2026 20:08
@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 332e1d2
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/69b1d20e0b1d6000087b270a
😎 Deploy Preview https://deploy-preview-2586--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 332e1d2
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/69b1d20ef087410007594346
😎 Deploy Preview https://deploy-preview-2586--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 6 from production)
Accessibility: 98 (no change from production)
Best Practices: 83 (🔴 down 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Raises the documented minimum Linux kernel requirements for the eBPF dataplane across Calico OSS, Enterprise, and Cloud docs, aligning distro guidance and kernel feature notes with a new v5.10 baseline.

Changes:

  • Update eBPF dataplane minimum kernel references (v5.3 → v5.10) and corresponding RHEL build (4.18.0-193 → 4.18.0-305 / RHEL 8.4).
  • Update Ubuntu minimum for eBPF guidance (20.04 → 22.04).
  • Remove the XDP acceleration row from the eBPF feature/kernel table and simplify CO-RE guidance.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
calico_versioned_docs/version-3.31/operations/ebpf/install.mdx Updates versioned Calico OSS eBPF install requirements and feature/kernel table to v5.10 baseline.
calico_versioned_docs/version-3.31/operations/ebpf/enabling-ebpf.mdx Updates versioned Calico OSS eBPF enablement prerequisites to v5.10 baseline.
calico/operations/ebpf/install.mdx Updates unversioned Calico OSS eBPF install requirements and feature/kernel table to v5.10 baseline.
calico/operations/ebpf/enabling-ebpf.mdx Updates unversioned Calico OSS eBPF enablement prerequisites to v5.10 baseline.
calico-enterprise_versioned_docs/version-3.23-1/operations/ebpf/install.mdx Updates versioned Calico Enterprise eBPF install requirements and feature/kernel table to v5.10 baseline.
calico-enterprise/operations/ebpf/install.mdx Updates unversioned Calico Enterprise eBPF install requirements and feature/kernel table to v5.10 baseline.
calico-cloud_versioned_docs/version-22-2/operations/ebpf/enabling-ebpf.mdx Updates versioned Calico Cloud eBPF enablement prerequisites and kernel-check guidance to v5.10 baseline.
calico-cloud/operations/ebpf/enabling-ebpf.mdx Updates unversioned Calico Cloud eBPF enablement prerequisites and kernel-check guidance to v5.10 baseline.

- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.3 or above. Kernel v5.8 or above with CO-RE enabled is recommended for better performance.
- Ubuntu 22.04.
- Red Hat v8.4 with Linux kernel v4.18.0-305 or above (Red Hat have backported the required features to that build).
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

This page now states a v5.10+ minimum kernel, but later in the same document the kernel-check examples still say v5.4 is suitable and reference RHEL build 193 as suitable. Please update the verification section/examples to match the new minimums (v5.10 / RHEL 4.18.0-305).

Suggested change
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above.
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above (earlier kernels such as v5.4 are not sufficient for eBPF mode).

Copilot uses AI. Check for mistakes.
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.3 or above. Kernel v5.8 or above with CO-RE enabled is recommended for better performance.
- Ubuntu 22.04.
- Red Hat v8.4 with Linux kernel v4.18.0-305 or above (Red Hat have backported the required features to that build).
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

This page now states a v5.10+ minimum kernel, but later in the same document the kernel-check examples still say v5.4 is suitable and reference RHEL build 193 as suitable. Please update the verification section/examples to match the new minimums (v5.10 / RHEL 4.18.0-305).

Suggested change
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above.
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above (earlier versions such as v5.4 are not supported for the eBPF data plane).

Copilot uses AI. Check for mistakes.
Comment on lines +111 to +115
@@ -113,15 +112,15 @@ The output should look like this:
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
```

In this case the kernel version is v5.4, which is suitable.
In this case the kernel version is v5.4, which is not suitable (minimum is v5.10).
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The text now correctly says the sample v5.4 kernel is not suitable, but the preceding line still says "The output should look like this", which reads like a recommended/expected (working) example. Consider changing that wording (for example, "may look like this") or updating the sample output to a v5.10+ kernel so the example and explanation are aligned.

Copilot uses AI. Check for mistakes.
Comment on lines +111 to +115
@@ -113,15 +112,15 @@ The output should look like this:
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
```

In this case the kernel version is v5.4, which is suitable.
In this case the kernel version is v5.4, which is not suitable (minimum is v5.10).
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The text now correctly says the sample v5.4 kernel is not suitable, but the preceding line still says "The output should look like this", which reads like a recommended/expected (working) example. Consider changing that wording (for example, "may look like this") or updating the sample output to a v5.10+ kernel so the example and explanation are aligned.

Copilot uses AI. Check for mistakes.
Comment on lines +55 to +57
- Ubuntu 22.04 or above.
- Red Hat v8.4 with Linux kernel v4.18.0-305 or above (Red Hat have backported the required features to that build).
- Another [supported distribution](../../getting-started/kubernetes/requirements.mdx) with Linux kernel v5.10 or above.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The PR description says references to v5.3 / RHEL 4.18.0-193 / Ubuntu 20.04 are updated in the latest docs, but there are still eBPF dataplane kernel minimum references elsewhere (for example, calico-enterprise/operations/ebpf/enabling-ebpf.mdx still treats v5.4 and RHEL 4.18.0-193 as suitable, and calico-cloud/reference/component-resources/node/felix/configuration.mdx still says eBPF mode requires a v5.3 kernel). Please update those remaining docs or narrow the PR description/scope so the docs are consistent.

Copilot uses AI. Check for mistakes.
@@ -113,15 +112,15 @@ The output should look like this:
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Copy link
Contributor

Choose a reason for hiding this comment

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

We should put a suitable output:
5.10.0-26-generic #28~20.04.1-Ubuntu SMP Fri Jan 27 14:30:10 UTC 2023

```

In this case the kernel version is v5.4, which is suitable.
In this case the kernel version is v5.4, which is not suitable (minimum is v5.10).
Copy link
Contributor

Choose a reason for hiding this comment

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

This change should be rolled back, and updated the version from 5.4 to 5.10

@@ -113,15 +112,15 @@ The output should look like this:
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here:
5.10.0-26-generic #28~20.04.1-Ubuntu SMP Fri Jan 27 14:30:10 UTC 2023

```

In this case the kernel version is v5.4, which is suitable.
In this case the kernel version is v5.4, which is not suitable (minimum is v5.10).
Copy link
Contributor

Choose a reason for hiding this comment

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

and here.

tomastigera and others added 2 commits March 11, 2026 13:32
- Update uname example to show v5.10 kernel as suitable output
  instead of showing v5.4 as not suitable (per reviewer feedback)
- Update Felix configuration reference to require v5.10 kernel
  for eBPF dataplane

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The output should look like this:

```
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Copy link
Contributor

Choose a reason for hiding this comment

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

Need update here:
5.10.0-26-generic #28~20.04.1-Ubuntu SMP Fri Jan 27 14:30:10 UTC 2023

The output should look like this:

```
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Copy link
Contributor

Choose a reason for hiding this comment

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

needs update here:
5.10.0-26-generic #28~20.04.1-Ubuntu SMP Fri Jan 27 14:30:10 UTC 2023

@lucastigera
Copy link
Contributor

Not all versions (cloud, enterprise and oss) were covered by the refactor. Some enabling-ebpf.mdx files still have reference to kernel version is v5.4, which is suitable.; and ebpf/install.mdx files have reference to with Linux kernel v5.3 or above.

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.

3 participants