kernelmod

package
v5.36.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

func EnsureBrNetfilter(ctx context.Context, logWriter io.Writer) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL