runpod / runpodctl

🧰 | RunPod CLI for pod management
https://www.runpod.io/
GNU General Public License v3.0
259 stars 38 forks source link

See / watch container logs #29

Open diruuu opened 1 year ago

diruuu commented 1 year ago

Is there a way to watch container logs when starting a pod using this command line tool?

jojje commented 1 month ago

@ef0xa can you explain how to access the /v1/pod/<pod-id>/logs resource using an API key?

The runpodctl CLI currently only uses the GraphQL endpoint (api.runpod.io) with the user's API key, while the web console uses a different endpoint (hapi.runpod.net) and a different authentication form; a JWT minted by "clerk" at login time (from basic auth/ userid + password).

Is there some way to get the logs using the API key instead, so as to leverage the same authentication information that the rest of runpodctl already relies on?

zfarrell13 commented 2 weeks ago

here in dire need of this functionality