Skip to content

[SDK] Create get_job_logs() API to get Trial logs #2576

@andreyvelich

Description

@andreyvelich

I would like to introduce get_job_logs() API to Katib SDK, that will help users to get information about their trials without jumping to kubectl or Katib UI. Initially, we can only support batch/Job as Trials.

The API design that I have in mind:

 def get_job_logs(
        self,
        name: str, # Experiment Name
        trial_name: str, # Trial Name       
        follow: Optional[bool] = False,
    ) -> Iterator[str]:

/cc @kubeflow/kubeflow-sdk-team
/good-first-issue
/area sdk

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions