-
Notifications
You must be signed in to change notification settings - Fork 671
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
[Docs] Examples for customizing resources are not correct #4035
Comments
Hey @honnix , I want to work on this issue under hacktoberfest'23. Can you please explain it in clearly?? |
@samhita-alla @honnix |
Need to update the documentation, @Illuminati9. Please go ahead and create a PR, @Illuminati9, @Kota-Karthik. We will consider whoever creates a PR first on a first-come, first-serve basis. |
@samhita-alla the docs has to be changed in flyte repo and not in flytekit repo right? |
Hello @samhita-alla, I have reviewed the FlyteSnacks Repository and was unable to find any instances of the I found the
Based on my findings, I don't believe there is an issue with the documentation in the FlyteSnacks Repository. Thank you : ) |
Hello @honnix , please assign this issue to me as I have already worked on this kind of problem in past and has a great experience. |
@itssiddhantjain I'm not part of the group organizing hacktoberfest so I'm not sure of the process. Happy to assign if @samhita-alla is fine with that? |
Hey @samhita-alla, please assign this issue to me as I have already worked on this kind of problem in past and has a great experience. |
@Kota-Karthik, the changes need to be made in the flytekit repository. Sorry for the confusion. |
Hi, I have raised a PR. I went through all the instances of @honnix you've mentioned this ex too - https://github.com/flyteorg/flytekit/blob/27b288bae7e4fc2dee6c47c455e4e4289af0d035/tests/flytekit/unit/core/test_dynamic.py#L176 |
Description
In old version of flytekit, customizing cpu or memory was done as
with_overrides(cpu="10M")
, but this is no longer the case and it needs to bewith_overrides(requests=Resources(...), limits=Resources(...))
.Some part of the document still refers to the old way, for example https://docs.flyte.org/projects/flytekit/en/latest/generated/flytekit.map_task.html#flytekit-map-task. The same issue exists in flytekit test cases, for example https://github.com/flyteorg/flytekit/blob/27b288bae7e4fc2dee6c47c455e4e4289af0d035/tests/flytekit/unit/core/test_dynamic.py#L176
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: