CPU Throttle 插件
功能描述
限制容器CPU使用率,模拟CPU资源竞争场景。
使用方法
pumba throttle --percent 50 --duration 5m my-container
参数说明
--percent: CPU限制百分比 (1-100)--duration: 限制持续时间
## 调试与故障排除
### 启用调试日志
```bash
pumba --log-level debug throttle --percent 50 test-container
使用DryRun模式测试
pumba --dry-run throttle --percent 50 test-container
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考



