weizhouapache commented on PR #9057:
URL: https://github.com/apache/cloudstack/pull/9057#issuecomment-2100365009

   > > @shwstppr I am not sure if we should disallow the operation.
   > > would it be a valid use case for users to
   > > ```
   > > * drain the node in CKS
   > > 
   > > * remove the node vm from cloudstack
   > > 
   > > * scale the cks cluster to get a new node
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > for your information, in Autoscale VM group, users can destroy a 
specific VM when the vm group is disabled. the corresponding reference/map in 
database and load balancer rules are also removed. of course, cks cluster is 
totally different from AS vm group.
   > 
   > @weizhouapache understood. Though destroying a valid cks node is also 
allowed right now. @Pearl1594 @nvazquez do we plan to add an API to remove a 
VM/node from CKS cluster? If there is, then the case mentioned by Wei should 
get handled? User can:
   > 
   > * drain node
   > * remove it from k8s cluster
   > * destroy the vm
   
   thanks @shwstppr 
   looks like a good idea to add a new API .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to