Documentation
¶
Overview ¶
netconfig is the device init-container helper. It configures each declared interface inside the pod netns: static interfaces get their fixed IP/routes; dhcp-preset interfaces lease a dynamic address from the lab DHCP server (for images that carry no DHCP client of their own). Interfaces the image handles itself (addr.type=dhcp) are not listed here — the operator gives those pods NET_ADMIN+NET_RAW instead.
Config is a JSON array passed in the NETCONFIG env var so no user-controlled value is ever interpolated into a shell.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.