You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying a node, it will spin up with the instance given by the template. However this requires spinning up large (expensive) instances during testing. Instead the ability to spin up a cheap (small) instance for testing is desirable.
This requires the following steps:
The change_instance_type method
This needs to be implemented in three places:
This method then needs to be hooked into the Models::Machine or Models::Node. See Remove tagging and Models::Machine #247 for details. For consistency, it should be implemented on Models::Machine until it is removed.
A instance_type field needs to be added to Models::Node. This records what the instance should be at the end of deploy
When the Models::Node#deploy method is called, it should fire the template off to the provider. Hang for a response, and then initiate the instance type modify. The instance_type should be obeyed on deploy!.
A modify-type command needs to be added to the CLI, similar to the power commands. It should work with both a single and group of nodes.
The text was updated successfully, but these errors were encountered:
When deploying a node, it will spin up with the instance given by the template. However this requires spinning up large (expensive) instances during testing. Instead the ability to spin up a cheap (small) instance for testing is desirable.
This requires the following steps:
change_instance_type
methodThis needs to be implemented in three places:
This method then needs to be hooked into the
Models::Machine
orModels::Node
. See Remove tagging andModels::Machine
#247 for details. For consistency, it should be implemented onModels::Machine
until it is removed.A
instance_type
field needs to be added toModels::Node
. This records what the instance should be at the end of deployWhen the
Models::Node#deploy
method is called, it should fire the template off to the provider. Hang for a response, and then initiate the instance type modify. Theinstance_type
should be obeyed ondeploy!
.A
modify-type
command needs to be added to the CLI, similar to thepower
commands. It should work with both a single and group of nodes.The text was updated successfully, but these errors were encountered: