Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ Manages connections to multiple Kubernetes clusters:
- Force fresh discovery: restart k8sql or use `--refresh-crds` flag

**Retry Logic:**
- Connection and discovery failures retry 3 times with linear backoff (100ms, 200ms, 300ms)
- Connection and discovery failures retry up to 5 times with exponential backoff (100ms, 200ms, 400ms, 800ms, 1600ms base delays)
- ±25% jitter added to prevent thundering herd when multiple clients retry simultaneously
- Handles intermittent network issues and proxy problems
- All requested contexts must succeed - no partial failures (ensures predictability for scripting)

Expand All @@ -171,6 +172,7 @@ Manages connections to multiple Kubernetes clusters:
- **k8s-openapi**: Kubernetes API type definitions (v1.32)
- **rustyline**: REPL with readline support
- **clap**: CLI argument parsing
- **fastrand**: Fast random number generation (for retry jitter)

## Table Schema

Expand Down
Loading