Thank you very much for your reply!
After reading the source code, I understood some execution mechanisms. Your reply makes me confirm that etcd is a better choice for me.
I will deploy etcd server on a stable cpu machine, so that I can dynamically increase or decrease nodes without worrying about whether or not the master node fails, as long as the etcd server does not fail.