Skip to content

Expose REGISTRY_HTTP_CLIENT_TIMEOUT via Helm Values for Registry Deployment #2313

@Ronifr-git

Description

@Ronifr-git

Context

Our current deployments operate in restricted, high-latency, and low-bandwidth network environments. During operations such as proxy-caching or large image pulls from upstream registries, we are observing frequent failures.

Problem:

The Harbor Registry component uses a hardcoded default of 30 seconds for its internal HTTP client timeout. In our specific network conditions, this window is insufficient, leading to context canceled or timeout errors during the proxy-cache process.

Proposed Solution:

Introduce a configurable parameter in the values.yaml to allow for the dynamic setting of the REGISTRY_HTTP_CLIENT_TIMEOUT environment variable within the Registry deployment template.

Proposed Key: registry.httpClientTimeout

Default Value: 30

Implementation: Inject the value into the registry deployment container spec as an environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions