network_loss
Inject network packet loss into Kubernetes pods matched by label selectors, with configurable loss percentage, duration, and correlation.
Instructions
对标签选择器匹配到的 Pod 注入 NetworkChaos 丢包故障。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector_value": "<selector_value>",
"selector_namespace": "<selector_namespace>",
"target_selector_value": "<target_selector_value>",
"target_namespace": "<target_namespace>"
},
"name": "network_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector_value | Yes | ||
| selector_namespace | Yes | ||
| target_selector_value | Yes | ||
| target_namespace | Yes | ||
| loss_percent | No | ||
| duration | No | 60s | |
| correlation | No |