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

Retrieve Pod machine readiness info from get pod API calls #307

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dvejmz
Copy link

@dvejmz dvejmz commented Mar 29, 2024

Retrieve the following additional properties of a pod (or a set of pods) machine from the runpod GraphQL API when running the get_pod or get_pods calls:

  • Upcoming machine maintenance
  • Requested GPU availability

This enables use cases where people want to query the readiness of their pods so they can safely and automatically launch them, scale them or send notifications when the readiness status of the pods changes.

I've updated the unit tests and ensured they all pass.

I've also added nest-asyncio to the requirements.txt, as it was missing and without it the unit tests fail. There are some unit test failures present but none of them are related to this change as they are also failing on the HEAD of main.

(EDIT: nevermind about the unit tests, I had set up the project incorrectly. All unit tests pass now)

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

Successfully merging this pull request may close these issues.

None yet

1 participant