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.
Overview
This page documents the detailed message types used by the ChaosDaemon gRPC service. For service method documentation, see gRPC API Overview.Network Chaos Types
TcsRequest
List of traffic control configurations to apply.
Target container ID.
Whether to enter container network namespace.
Tc
Traffic control type:
NETEM or BANDWIDTH.Network emulation configuration (when type is NETEM).
Token bucket filter configuration (when type is BANDWIDTH).
IPSet name for filtering.
Protocol to filter (tcp, udp, icmp, etc.).
Source port or port range.
Egress/destination port or port range.
Network device name.
Netem
Network emulation parameters for delay, loss, corruption, etc.Base delay time (e.g., “100ms”).
Delay variation/jitter (e.g., “10ms”).
Delay correlation percentage (0-100).
Queue limit in packets.
Packet loss percentage (0-100).
Loss correlation percentage (0-100).
Gap for loss pattern.
Packet duplication percentage (0-100).
Duplication correlation percentage (0-100).
Packet reordering percentage (0-100).
Reordering correlation percentage (0-100).
Packet corruption percentage (0-100).
Corruption correlation percentage (0-100).
Parent qdisc handle.
This qdisc handle.
Rate limit (e.g., “1mbit”).
Tbf
Token Bucket Filter for bandwidth limiting.Rate limit (e.g., “1mbit”, “100kbit”).
Queue size limit in bytes.
Token bucket buffer size.
Peak rate for burst traffic.
Minimum burst size.
TcHandle
Major number of tc handle.
Minor number of tc handle.
IPSetsRequest
List of IPSet configurations.
Target container ID.
Whether to enter container network namespace.
IPSet
IPSet name.
List of CIDR ranges.
List of CIDR and port combinations.
List of IPSet names for set-of-sets.
IPSet type (hash:ip, hash:net, hash:ip,port, etc.).
CidrAndPort
CIDR range.
Port number.
IptablesChainsRequest
List of iptables chains to configure.
Target container ID.
Whether to enter container network namespace.
Chain
Chain name.
Chain direction:
INPUT or OUTPUT.IPSet names to match.
Target action (DROP, ACCEPT, REJECT, etc.).
Protocol to match (tcp, udp, icmp, all).
Source port or port range to match.
Destination port or port range to match.
TCP flags to match.
Network device to match.
Container Types
ContainerRequest
Container action to perform.
Target container ID.
ContainerAction
Action type:
KILL or GETPID.ContainerResponse
Process ID of container’s main process.
Stress Types
ExecStressRequest
Execution scope:
CONTAINER (0) or POD (1).Target container or pod identifier.
CPU stressor arguments for stress-ng.
Memory stressor arguments for stress-ng.
OOM score adjustment for stress process (-1000 to 1000).
Whether to enter target namespace.
ExecStressResponse
CPU stress instance identifier (process name).
CPU stress start timestamp.
Memory stress instance identifier (process name).
Memory stress start timestamp.
CPU stress unique identifier.
Memory stress unique identifier.
CancelStressRequest
CPU stress instance to cancel.
CPU stress start timestamp.
Memory stress instance to cancel.
Memory stress start timestamp.
CPU stress unique identifier.
Memory stress unique identifier.
I/O Chaos Types
ApplyIOChaosRequest
Serialized JSON string containing I/O chaos actions (IOChaosAction array).
Target volume mount path.
Target container ID.
Instance ID for tracking (from previous injection or 0 for new).
Start timestamp (from previous injection or 0 for new).
Whether to enter container mount namespace.
Unique identifier for this injection.
ApplyIOChaosResponse
Instance ID for recovery (FUSE process PID).
Start timestamp for recovery.
Unique identifier for tracking.
HTTP Chaos Types
ApplyHttpChaosRequest
Serialized JSON string containing HTTP chaos rules.
List of ports to proxy for HTTP chaos.
Target container ID.
Instance ID for tracking.
Start timestamp.
Whether to enter container network namespace.
Unique identifier for this injection.
TLS configuration (serialized JSON).
ApplyHttpChaosResponse
Instance ID for recovery.
Start timestamp.
HTTP status code (0 for success, non-zero for error).
Error message if statusCode is non-zero.
Unique identifier.
Block Chaos Types
ApplyBlockChaosRequest
Target container ID.
Target volume path.
Block chaos action:
Delay (0).Delay specification (when action is Delay).
Whether to enter container mount namespace.
BlockDelaySpec
Delay in nanoseconds.
Correlation percentage (0-100).
Jitter in nanoseconds.
ApplyBlockChaosResponse
Injection ID for recovery.
RecoverBlockChaosRequest
Injection ID to recover (from ApplyBlockChaosResponse).
DNS Chaos Types
SetDNSServerRequest
Target container ID.
DNS server IP address.
Whether to enable (true) or disable (false) the DNS server override.
Whether to enter container network namespace.
JVM Chaos Types
InstallJVMRulesRequest
Target container ID.
Byteman rule script content.
Byteman agent port.
Whether to enter container namespace.
UninstallJVMRulesRequest
Target container ID.
Byteman rule script content to uninstall.
Byteman agent port.
Whether to enter container namespace.