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

Feature: Operator command for instance #225

Merged
merged 14 commits into from
Jul 23, 2024
Merged

Feature: Operator command for instance #225

merged 14 commits into from
Jul 23, 2024

Conversation

1yam
Copy link
Collaborator

@1yam 1yam commented Jul 1, 2024

Note: This pull request depends on the following PR and should not be merged before it:
aleph-im/aleph-sdk-python#124

Summary

This PR introduces new commands for managing virtual machine instances. These commands provide users with enhanced control over their VMs.

New Commands

The following commands have been added:

  1. Notify Instance:

    aleph instance notify {vm_id} {domain}

    Sends a notification to the specified VM instance within the given domain.

  2. Stop Instance:

    aleph instance stop {vm_id} {domain}

    Stops the specified VM instance within the given domain.

  3. Reboot Instance:

    aleph instance reboot {vm_id} {domain}

    Reboots the specified VM instance within the given domain.

  4. Erase Instance:

    aleph instance erase {vm_id} {domain}

    Erases the specified VM instance within the given domain, securely deleting all data.

  5. Expire Instance:

    aleph instance expire {vm_id} {domain}

Copy link

github-actions bot commented Jul 1, 2024

Failed to retrieve llama text: POST 504:

504 Gateway Time-out


The server didn't respond in time.

Copy link
Collaborator

@Psycojoker Psycojoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once SDK python is release, change the dependency then merge then release.

pyproject.toml Outdated Show resolved Hide resolved
This is done by going threw all nodes look for the one with the correct hash.
@nesitor nesitor self-requested a review July 23, 2024 13:11
@olethanh
Copy link
Contributor

I think you can just point the sdk dep to the rc2 release and it should work

@olethanh olethanh merged commit 5dd7e4f into master Jul 23, 2024
16 checks passed
@Psycojoker Psycojoker deleted the 1yam-operator-vm branch July 24, 2024 15:26
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.

5 participants