Skip to content

Commit 36e5cf3

Browse files
authored
Fix issue #420: Add troubleshooting section for client rate limiter errors in import-cluster-resources.md (#438)
Signed-off-by: dapeng <[email protected]>
1 parent 5356260 commit 36e5cf3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

simulator/docs/import-cluster-resources.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,16 @@ resourceApplierOptions := resourceapplier.Options{
9090

9191
> [!NOTE]
9292
> Right now, one-shot import cannot change which resources to import.
93+
94+
## Troubleshooting
95+
96+
### Client Rate Limiter Errors
97+
98+
When importing resources from large clusters, you might encounter "context deadline" or client rate limiter errors. This typically happens when the default QPS (Queries Per Second) and Burst settings are too low to handle the volume of API requests needed for resource synchronization.
99+
100+
**Solution**: If you encounter these errors, consider increasing the QPS and Burst limits in your kubeconfig:
101+
102+
- QPS: Consider setting to 400 (instead of the default 5)
103+
- Burst: Consider setting to 1200 (instead of the default 10)
104+
105+
You can modify these values in your kubeconfig file or client configuration to handle large cluster imports more efficiently. Please note that higher values may increase the load on your API server.

0 commit comments

Comments
 (0)