Skip to content

Conversation

@puwun
Copy link
Contributor

@puwun puwun commented Jan 21, 2026

Follow-up to #4549 documenting additional limits from #709

Description

Added kernel version-specific limits that were discussed in #709 :

  • Max file match values: 8 on kernels ≥ 5.3, 2 on kernels < 5.3
  • String prefix max length: 256 chars
  • String postfix max length: 128 chars
  • matchBinaries values: Unlimited (stored in BPF map)

Changelog

docs: add kernel version-specific selector limitations

@puwun puwun requested review from a team and mtardy as code owners January 21, 2026 19:31
@netlify
Copy link

netlify bot commented Jan 21, 2026

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 9f7ba40
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/69723a75caac3c000870362a
😎 Deploy Preview https://deploy-preview-4553--tetragon.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.

- **Max file match values** (using `fd` or `file` arg): 8 on kernels ≥5.3, 2 on kernels <5.3
- **String prefix max length**: 256 chars
- **String postfix max length**: 128 chars
- **matchBinaries values**: Unlimited (stored in BPF map)
Copy link
Member

Choose a reason for hiding this comment

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

Since there's virtually no limit, you can just remove this

Suggested change
- **matchBinaries values**: Unlimited (stored in BPF map)

Comment on lines 2063 to 2065
- **Max file match values** (using `fd` or `file` arg): 8 on kernels ≥5.3, 2 on kernels <5.3
- **String prefix max length**: 256 chars
- **String postfix max length**: 128 chars
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- **Max file match values** (using `fd` or `file` arg): 8 on kernels ≥5.3, 2 on kernels <5.3
- **String prefix max length**: 256 chars
- **String postfix max length**: 128 chars
- Max file match values (using `fd` or `file` arg): 8 on kernels ≥5.3, 2 on kernels <5.3
- String prefix max length: 256 chars
- String postfix max length: 128 chars

Comment on lines 2059 to 2061
#### Kernel Version-Specific Limits

Some limits vary based on the kernel version:
Copy link
Member

Choose a reason for hiding this comment

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

Tbh I'd just add the things to the list of limitations above without creating a new section, should be good enough and it seems some of your limits don't really depends on kernel versions.

@mtardy mtardy added the release-note/docs This PR updates the documentation. label Jan 22, 2026
@puwun puwun force-pushed the fix/docs-kernel-version-specific-limits branch from cc69e56 to 9f7ba40 Compare January 22, 2026 14:55
@puwun
Copy link
Contributor Author

puwun commented Jan 22, 2026

@mtardy thanks, pushed the changes 👍🏼

Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

looks good just one small nit and we can merge

operators which store values in a BPF map.



Copy link
Member

Choose a reason for hiding this comment

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

nit: please remove that whiteline change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done 👍🏼

Follow-up to PR cilium#4549 documenting additional limits from issue cilium#709.

Signed-off-by: Pavan More <[email protected]>
@puwun puwun force-pushed the fix/docs-kernel-version-specific-limits branch from 9f7ba40 to af9f118 Compare January 22, 2026 17:02
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

Thanks!

@mtardy mtardy merged commit e10b320 into cilium:main Jan 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/docs This PR updates the documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants