Open tlawrie opened 3 years ago
The current thinking on the implementation will be to expand the options for a user to
@BenjaminRuby To start with the only changes are on the Workflow > Configure tab change the title from Other Options to Storage Options.
@marcusdroy @Okisa this is the zenhub for the items being discussed.
I think for now we can solve the
The ability to specify custom already existing objects (probably create a new zenhub enhnacement request to track that)
@marcusdroy by now, I updated the props to include size and mountPath for workspace and workflow like this. If there is anything that need to be changed, let me know.
workflowStorage: {
enabled: boolean,
size: number,
mountPath: string,
},
workspaceStorage: {
enabled: boolean,
size: number,
mountPath: string,
},
@tlawrie currently this is how the modal looks like for Workspace. For Workflow I just need to update the subtitle to the correct content and the tooltips (don't have much idea of the difference from them).
Hey @Okisa great question.
The main difference is that Workspace storage persists across workflow executions, where as Workflow storage is per execution.
For the description in the modal, you could say something like;
Workflow storage is persisted per workflow execution and allows you to share short-lived artifacts between tasks in the workflow. Note: All artifacts will be deleted at the end of the workflow execution. If you want to persist long term use Workspace storage.
And for Workspace, could you update to;
Workspace storage is persisted across workflow executions and allows you to share artifacts between workflows, such as maintaining a cache of files used every execution. Note: use with caution as this can lead to a collision if you are running many executions in parallel using the same artifact.
Hey @Okisa further changes to close out
Configuration Page
We have renamed it to Workspaces (instead of Storage Options)
Update the description / copy
Workspaces allow your workflow to declare storage options to be used at execution time. This will be limited by the Storage Capacity quota which will error executions if you exceed the allowed maximum.
We have renamed the Enable Workspace Peristent Storage to Enable Workflow Persistent Storage (yes i know thats a bit confusing... sorry)
We have renamed the Enable Workflow Persistent Storage to Enable Activity Persistent Storage
Workflow Modal For the configure modal of the new Workflow Persistent Storage I have updated the
Activity Modal Similar changes. See photo.
Is your request related to a problem? Please describe. Currently workflows are limited to only a single PVC to be enabled for the duration of a single execution with no ability to set the custom size.
Describe the solution you'd like
Describe the benefits or justification for this request This will allow much more advanced and dynamic control of how storage / caching / access can be controlled.
Additional context FYI: @simon-harris-ibm