-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ephemeral-storage
for disk
directive and k8s
executor
#2998
Conversation
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
I need to test it to make sure, but based on the K8s docs, this PR should make it possible to request local disk storage for k8s tasks. You have to specify both the
As a side bonus, you can also use
|
modules/nextflow/src/test/groovy/nextflow/k8s/model/PodOptionsTest.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
@xhejtman I think I have seen this issue occasionally for earlier versions as well, but I haven't figured out why it happens. It seems to happen when the underlying node storage is exhausted, regardless of how much |
yes, this was my fault - node was by mistake configured without enough of local storage and therefore I discarded the comment. But it can happen, of course, under normal circumstances as well. More interresting question is, why this problem led to pipeline fail instead of re-run this task. |
Feel free to submit an issue for it. If you can identify the exception that was thrown, then we can check the error handling logic and possibly change it to trigger a retry instead of workflow termination. |
I'm not getting what's the difference between this and #2988? |
The other PR adds support for the Basically these PRs add two different ephemeral volume types. Ephemeral volumes must be added on a case-by-case basis because you can't provision them with a PVC. ConfigMap and Secret are two ephemeral volume types that we already support, so these new types are supported in much the same way. I think both are worth supporting because |
Signed-off-by: Paolo Di Tommaso <[email protected]>
Ok, i've merged with master and solved the conflicts. @bentsherman please check everything is fine c353d8a |
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
@pditommaso Everything looks good, test worked, this one is ready to merge. |
modules/nextflow/src/main/groovy/nextflow/k8s/model/PodSpecBuilder.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Paolo Di Tommaso <[email protected]>
Hi
added in the specific process but it returned Caused by:
Unknown pod options: [emptyDir:[:]] using nextflow version 22.10.5.5840 |
Hi @ebioman , it was not included in v22.10. Based on the merge commit, it is available in all of the edge releases since then. I would just use the latest edge release. |
Ah sorry missed that 🙂 thanks a lot for the info. |
Closes #2986
This PR includes the following changes:
emptyDir
ephemeral volume mounts in k8sdisk
directive in k8s viaephemeral-storage
resource type andemptyDir
volume