-
Notifications
You must be signed in to change notification settings - Fork 1
Tools - add common tools for LTP administration #62
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a collection of Python administration tools for PAI (Platform for AI) cluster management. The tools provide functionality for managing jobs, users, groups, and storage configurations through REST API interactions.
Key changes:
- Database job management tools for updating waiting jobs and handling PostgreSQL operations
- User administration tools for setting VC admins, job expiration, and token revocation
- Group management tools for updating group configurations and blob storage setup
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
tools/updateWaitingJob.py | Database utility for updating job states in PostgreSQL with snapshot management |
tools/updateGroupInfo.py | Group management tool for adding/removing virtual clusters and blob storage |
tools/setupBlobForPAI.py | Blob storage setup automation with Kubernetes PV/PVC creation |
tools/setUserVcAdmin.py | User administration tool for setting virtual cluster admin permissions |
tools/setUserJobExpiration.py | User management tool for setting job expiration dates |
tools/revokeAllTokens.py | Token management utility for revoking all user tokens |
tools/displayUser.py | User information display tool with detailed user data retrieval |
tools/displayGroup.py | Group information display tool for viewing group configurations |
tools/deleteGroup.py | Group deletion utility for removing groups via REST API |
tools/cleanStorageList.py | Storage management tool for refreshing storage configurations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
add common tools for PAI administration