Skip to content

Commit

Permalink
docs: Mention RouteTableInterfacesOffset in system requirements
Browse files Browse the repository at this point in the history
ENI mode creates routing tables with index `10 + eni-index`. This commit
documents that and mentions that those indices are not taken by the
system.

Suggested-by: Chris Tarazi <chris@isovalent.com>
Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
  • Loading branch information
gandro committed Oct 3, 2023
1 parent 1e41011 commit 9d3976c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/operations/system_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,17 @@ filesystem to be automatically mounted when the node boots.
If you are using systemd to manage the kubelet, see the section
:ref:`bpffs_systemd`.

Routing Tables
==============

When running in :ref:`ipam_eni` IPAM mode, Cilium will install per-ENI routing
tables for each ENI that is used by Cilium for pod IP allocation.
These routing tables are added to the host network namespace and must not be
otherwise used by the system.
The index of those per-ENI routing tables is computed as
``10 + <eni-interface-index>``. The base offset of 10 is chosen as it is highly
unlikely to collide with the main routing table which is between 253-255.

Privileges
==========

Expand Down
1 change: 1 addition & 0 deletions Documentation/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Dinan
Dockerfile
Dockerfiles
Donenfeld
ENI
FIt
Fastabend
Fosdem
Expand Down

0 comments on commit 9d3976c

Please sign in to comment.