Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chaos-mesh/chaos-mesh/llms.txt
Use this file to discover all available pages before exploring further.
KernelChaos allows you to inject faults into the Linux kernel to simulate kernel-level failures such as memory allocation failures, page allocation failures, and bio failures.
API Version and Kind
Metadata
Standard Kubernetes object metadata.Name of the KernelChaos resource.
Namespace of the KernelChaos resource. Defaults to
default.Spec Fields
Defines the behavior of the kernel chaos experiment.
KernelChaosSpec
Selector for targeting containers. See ContainerSelector in Common Types.Inherits all fields from
ContainerSelector (inline), including:- Pod selection criteria
- Mode (one/all/fixed/fixed-percent/random-max-percent)
- Value (for fixed modes)
- Container names
Defines the kernel injection conditions.
Duration of the chaos action.A duration string with format like
"300ms", "1.5h", or "2h45m".Valid time units: ns, us (µs), ms, s, m, hName of the remote cluster where the chaos will be deployed. If not specified, chaos is applied to the local cluster.
Status Fields
Current status of the chaos experiment.
KernelChaosStatus
Current global conditions. See ChaosStatus in Common Types.
Last known experiment state including desired phase and container records.