Documentation
¶
Overview ¶
Package kernelmod provides utilities for loading and checking Linux kernel modules required by cluster provisioners. This is particularly needed for Docker-based provisioners (Talos, VCluster) that depend on bridge networking features.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBrNetfilter ¶
EnsureBrNetfilter loads the br_netfilter kernel module if not already loaded. On Linux, this is required for Docker bridge networking features. On macOS and Windows, Docker Desktop handles this automatically via its Linux VM.
Parameters:
- ctx: context for command execution
- logWriter: optional writer for status messages (can be nil)
Returns an error if the module cannot be loaded on Linux systems.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.