Skip to content

WIP Limit registry connections to prevent 503 errors during push #4428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rozzii
Copy link

@Rozzii Rozzii commented Jul 28, 2025

Add HTTP client configuration with connection limits to prevent registry overload when pushing images. This addresses 503 errors that occur when too many parallel requests are made to registries.

Changes:

  • Add MaxConnsPerHost (default: 5) and MaxIdleConns (default: 50) options
  • Add RequestTimeout configuration for large uploads
  • Apply limits to both HTTPS and HTTP fallback scenarios
  • Maintain backward compatibility with existing configurations

@Rozzii Rozzii force-pushed the regitry_conn_limit branch from eaf4efb to db9c429 Compare July 28, 2025 08:26
@Rozzii Rozzii changed the title Limit registry connections to prevent 503 errors during push WIP Limit registry connections to prevent 503 errors during push Jul 28, 2025
@Rozzii Rozzii force-pushed the regitry_conn_limit branch 2 times, most recently from 9e33fe1 to 909141a Compare August 1, 2025 05:56
Add HTTP client configuration with connection limits to prevent registry
overload when pushing images. This addresses 503 errors that occur when
too many parallel requests are made to registries.

Changes:
- Add MaxConnsPerHost (default: 5) and MaxIdleConns (default: 50) options
- Add RequestTimeout configuration for large uploads
- Apply limits to both HTTPS and HTTP fallback scenarios
- Maintain backward compatibility with existing configurations

Signed-off-by: Adam Rozman <[email protected]>
@Rozzii Rozzii force-pushed the regitry_conn_limit branch from 909141a to 3b52e43 Compare August 1, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant