Skip to content

Research spike: investigate solutions around pulling images that exceed VCH tmpfs size #3624

@jzt

Description

@jzt

When pulling an image that exceeds the available tmpfs space on the VCH, a "no space left on device" error occurs as the /tmp partition becomes full.

Currently, we have two solutions in mind:

  1. Implement a shared buffer on the portlayer side that will read up to a certain watermark, block downloads, drain to disk, repeat.

  2. Implement a large ephemeral disk to use as temporary space instead of using tmpfs on the VCH. This disk should be created at VCH provision time, must be large enough (10s of GB) to support multiple concurrent large image pulls, and must be able to resize (shrink) itself on VCH restart.

We need to research the complexity and correctness of both solutions, with a preference for correctness over less complex.

bug2157676

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions