So @jia_shizhen, did you
Remove the node from the replica set before terminating the pod?
As hinted by @Saipraneeth_Vaddineni and I.
Configure the cluster so that the node is automatically removed from replica set?
Like hinted by @chris.
Please do not leave your 2 threads about this issue dangling. If your issue has been solved while following one of the reply please mark the reply as the solution. If you found the solution elsewhere or by your own please share.