-
Notifications
You must be signed in to change notification settings - Fork 76
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
machine actuator implementation #16
Comments
This can be enhanced to be
let's add one by one |
before that, we need something like so we can consume the status and spec from cluster-api..... |
Discussion about @jichenjc 's comments
Common CaseCurrently, the behavior is: Existing CaseI guess there has logic issue here, if there has an exist VM instance. We should:
I think option 2 should be better. Because we create name of vm instance which should be not duplicated in cloud. Even if it is duplicated (e.g. Machine transfer case, or the VM is created manually, or by other cluster-api instances), we should identify this machine is managed by cluster-api (better to know current cluster instance ID I guess) or not. If update is needed, refer below thoughts UpdateI'm considering how to implement update. This is logic in my mind:
|
I agree with the approach on the update flow (delete and recreate) ,I think we can make it as it is now, but we'd better leave this open to track the TODO items to verify and agree on the behavior for this: I think I need more time to try and have more input here, basically I am not against add pending status but we need make sure it's useful and we can have full picture on the state transition for guest we created so let's keep this issue open and provide more input here after more test |
close this as all things completed |
/kind feature
we need add Create/Update/Delete/Exists functions to machine so that we can make it able to be consumed by cluster-api Reconcile function
we can create several patches to add those functions
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
The text was updated successfully, but these errors were encountered: