I have two elasticsearch nodes with xpack and at least one should be available at all the time as per the requirement. we can only upgrade the VMs by deleting and recreating and this is also a requirement. My use case here is to drop one node and rebuild it and then the other one. However as soon as I drop one node the other one is breaking therefore I am unable to achieve zero down time.
How can I achieve this upgrade with zero down time with nodes?