Skip to content
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

[SDK] Adding env vars #2285

Merged
merged 5 commits into from
Dec 24, 2024
Merged

Conversation

tarekabouzeid
Copy link
Member

@tarekabouzeid tarekabouzeid commented Oct 16, 2024

What this PR does / why we need it:

Enable users to set environment variables to init and worker containers. Used same implementation in Katib here

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #2284

Checklist:

  • Docs included if any changes are user facing

Signed-off-by: Tarek Abouzeid <[email protected]>

using same implementation in katib

Signed-off-by: Tarek Abouzeid <[email protected]>

updating docs

Signed-off-by: Tarek Abouzeid <[email protected]>
@coveralls
Copy link

coveralls commented Oct 16, 2024

Pull Request Test Coverage Report for Build 12480966961

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 12449807365: 0.0%
Covered Lines: 85
Relevant Lines: 85

💛 - Coveralls

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay @tarekabouzeid!
I think, this great feature we should contribute before we release Training Operator 1.9.

Please can you add the unit tests for it ?

sdk/python/kubeflow/training/utils/utils.py Outdated Show resolved Hide resolved
sdk/python/kubeflow/training/utils/utils.py Outdated Show resolved Hide resolved
sdk/python/kubeflow/training/api/training_client.py Outdated Show resolved Hide resolved
@andreyvelich andreyvelich changed the title adding env vars [SDK] Adding env vars Dec 19, 2024
@google-oss-prow google-oss-prow bot added size/L and removed size/M labels Dec 23, 2024
@google-oss-prow google-oss-prow bot added size/M and removed size/L labels Dec 24, 2024
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution @tarekabouzeid 🎉
/lgtm
/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 80e2097 into kubeflow:master Dec 24, 2024
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add environment variables to containers
3 participants