Skip to content

Expose TrainJob labels and annotations in the SDK #87

@kramaranya

Description

@kramaranya

What you would like to be added?

We want the SDK to let users set labels and annotations when creating a TrainJob. Add two optional fields to the train method so users can set labels and annotations.

Why is this needed?

Right now, users can't set labels and annotations via the SDK and need YAML for that. It also keeps the SDK aligned with the controller API and KEP Trainer V2

Love this feature?

Give it a 👍 We prioritize the features with most 👍

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions