-
Notifications
You must be signed in to change notification settings - Fork 10
feat: cluster API support for Verda Cloud Python SDK #70
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
Implemented comprehensive support for the Clusters API: - Created ClustersService with methods for cluster management (create, get, delete, scale) - Added Cluster and ClusterNode dataclasses for type safety - Integrated clusters service into VerdaClient - Added ClusterStatus constants for cluster lifecycle management - Created comprehensive unit tests (13 tests covering all API operations) - Added detailed example demonstrating cluster operations - All tests pass (125/125)
e956a7f to
99668e8
Compare
| print(cluster) | ||
|
|
||
| # delete instance | ||
| # verda_client.clusters.action(cluster.id, 'delete') |
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.
uncomment?
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.
can't delete really until it is running but this is 20 minutes wait usually
Co-authored-by: Rakhim Davletkaliyev <rakhim@rakhim.org>
Co-authored-by: Rakhim Davletkaliyev <rakhim@rakhim.org>
Co-authored-by: Rakhim Davletkaliyev <rakhim@rakhim.org>
freetonik
left a comment
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.
Some minor details
Co-authored-by: Rakhim Davletkaliyev <rakhim@rakhim.org>
This adds support for running clusters using Verda Cloud official SDK.
Also fixing so the default
BASE_URLishttps://api.verda.com/v1It is simple as follows:
also implemented: