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

🤔[question] How to get pod address by experiment #9464

Open
2 tasks done
fecet opened this issue Jun 3, 2024 · 1 comment
Open
2 tasks done

🤔[question] How to get pod address by experiment #9464

fecet opened this issue Jun 3, 2024 · 1 comment
Labels

Comments

@fecet
Copy link

fecet commented Jun 3, 2024

Describe your question

Currently, the python api of client.get_experiment only return experiment info from yaml, but not include those dynamically determined by determined, such as pod address. Is there any method to get them from python or cli?

Checklist

  • Did you search the docs for a solution?
  • Did you search github issues to find if somebody asked this question before?
@fecet fecet added the question label Jun 3, 2024
@ioga
Copy link
Contributor

ioga commented Jun 3, 2024

hello. on k8s, det experiment pods have names with the prefix exp-$EXPERIMENT_ID-trial-$TRIAL_ID: https://github.com/determined-ai/determined/blob/main/master/pkg/tasks/task_trial.go#L106

so, you can take the experiment id, then use kubectl or k8s APIs to find the matching pods by this prefix and get their pod addresses or other k8s-specific data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants