-
Notifications
You must be signed in to change notification settings - Fork 824
pin s3 worker count for kubernetes tasks #2259
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
d994353
aaf29e5
cac1422
ec6840b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,6 +262,7 @@ def create_job( | |
.environment_variable("METAFLOW_DEFAULT_DATASTORE", "s3") | ||
.environment_variable("METAFLOW_DEFAULT_METADATA", DEFAULT_METADATA) | ||
.environment_variable("METAFLOW_CARD_S3ROOT", CARD_S3ROOT) | ||
.environment_variable("METAFLOW_S3_WORKER_COUNT", max(1, int(cpu) - 2)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would we need a change in step functions as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. step-functions calls the batch implementation so this should apply there as well. will verify There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. confirmed, step-functions is setting the env correctly through the changes in Batch |
||
.environment_variable("METAFLOW_OTEL_ENDPOINT", OTEL_ENDPOINT) | ||
.environment_variable("METAFLOW_RUNTIME_ENVIRONMENT", "aws-batch") | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would we need a similar change in argo workflows for pods and jobsets?