kitops icon indicating copy to clipboard operation
kitops copied to clipboard

Enhance unpack Command for Deployment-Specific Structures

Open gorkem opened this issue 1 year ago • 0 comments

Describe the problem you're trying to solve Currently, the unpack command does not fully cater to the specific needs and expectations of different target environments, such as inference engines. There's a gap in functionality where the command fails to dynamically adjust and resolve the unpacked files based on the unique structure and metadata requirements of these environments. This lack of flexibility can lead to inefficiencies and potential mismatches when integrating unpacked files into various runtime, test, development, or deployment settings.

Describe the solution you'd like

To address this issue, I propose enhancing the kit unpack command to offer a more adaptable and environment-aware unpacking mechanism. Although ModelKits are designed to be abstract away from different environments, it's essential for the kit unpack functionality to be able to cater to the unique needs of these environments when unpacking artifacts.

A feasible approach to achieving this is through the introduction of a plugin mechanism. This system would allow for the development of environment-specific plugins that kit can leverage during the unpacking process. Each plugin would instruct the kit unpack command on how to properly structure the unpacked files to meet the requirements of a target environment ModelKits are an abstracted from the runtime, test, development, or deployment environments.

This would allow us to customize the kit unpack process to meet the diverse requirements of different target environments efficiently, which in turn streamlines deployment and integration workflows, improving user experience across various environments.

gorkem avatar Mar 14 '24 21:03 gorkem