transform-hub icon indicating copy to clipboard operation
transform-hub copied to clipboard

K8S adapter should build runner image in prerunner

Open f1ames opened this issue 4 years ago • 0 comments

Feature description

This is a follow-up of https://github.com/scramjetorg/transform-hub/pull/247. For now, runner pod works in a way that it is started first (with while loop waiting for sequence files to be copied), then sequence files are being copied and run. This makes the flow a bit confusing and requires workaround to keep runner pod running.

To fix this, we have concluded that prerunner should build runner image (with sequence files already there), snapshot it and then pass snapshot reference to runner. This way runner pod when started will already have all sequence files and can execute it right away. Also it should simplify the whole runner flow.

f1ames avatar Feb 16 '22 12:02 f1ames