Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

deployment: incorrect SYMBOLS_CACHE_SIZE_MB setting when using resourceFieldRef #26283

Closed
sourcegraph/deploy-sourcegraph
#4016
@caugustus-sourcegraph

Description

@caugustus-sourcegraph

The SYMBOLS_CACHE_SIZE_MB setting in the symbols deployment is incorrectly auto-calculated from an ephemeral storage resource size. The variable expects MB but the requests are provided in bytes.

Adding a divisor will resolve this issue:

            resourceFieldRef:
              containerName: symbols
              resource: requests.ephemeral-storage
              divisor: "1M"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions