Elasticsearch 7.13 2 nodes cluster

This older post provides more details.

Also, this part of docs may also be of benefit to understand the situation when you are down to 2 master-eligible nodes and one is removed.