-
Notifications
You must be signed in to change notification settings - Fork 519
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
apiserver: new /actions/reboot
endpoint
#936
Conversation
Addresses @tjkirch 's comments.
Tested with multiple instance and I am able to get a reponse status back every time. |
Push above renames |
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.
🔩
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.
Just nits
Adds new API path: `/actions/reboot` for initiating reboots.
Addresses @tjkirch 's comments. |
Issue number:
N/A
Description of changes:
Adds new API path:
/actions/reboot
for initiating reboots.Testing done:
Built images, created AMI, launched instance with said AMI
Was able to reboot the machine from both the control container and admin container with:
apiclient -v -u /actions/reboot -m POST
.Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.