Why is nodeport networking discouraged?

Hello,

If nodeport networking is used for inter-kubernetes networking, and if a pod dies, the replacement pod may have a different node or port or both. But in that case, an updated cluster map is sent to client (including xdcr), so there is no problem. Same would be the case if a pod is added/deleted.

So then, can you pls elaborate, why is nodeport networking discouraged for inter-kubernetes XDCR?

One reason I read is security. Keeping security aside for a moment, are there any scenarios when XDCR can break?

Thanks

Hello,

Talked to some of the engineers and found out that until server 6.6, when using IP addresses, replication would fail because there wasn’t a way to tell XDCR to use the external network for replication.

Thanks
Aaron