-
Notifications
You must be signed in to change notification settings - Fork 681
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
[flytekit] Polish - Resources #6142
Comments
I agree with changing When adding shared memory with a pod template, it think it just sets the limit and it is not a request. I think most users just leaves it as default, which sets the limit as the total number of ram. Reference
This is what we do with the pytorch plugin: https://github.com/flyteorg/flytekit/blob/4e93e36843b8f13f06eb088e1a46232ad1fb225d/plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/pod_template.py#L6. So we can put |
#take |
Hi @wild-endeavor,
Regarding cc @thomasjpfan @granthamtaylor Thanks so much! |
Resources
This is a series of tickets to improve the flytekit authoring experience. If any changes are not possible to make in a backwards-compatible way, split it out into a separate ticket.
Rename argument
The argument
ephemeral_storage
should be renamed todisk
.disk
is succinct and gets the point across. Make it super clear if not already in user facing notes that the disk is ephemeral.SHM
Should we add
shm
as an option to Resources? (i think the same issue that kept us from putting accelerator - the fact that resources are specified as both requests and limits - may be relevant here. Even if k8s doesn't allow it today, does it make sense to for an shm to have two different numbers here? Discuss more and probably cut a separate ticket for this (cc @granthamtaylor)Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: