Automatic node port discovery was introduced in #28, however in some cases the operator will not want / be able to open a large range of ports (30000-32767) on their Kubernetes nodes.
An option should be added to fix the attributed nodePort, however in this case it might be impossible to support more than 1 replica for the statefulset as fixing the port will result in a port conflict for the second replica.
Similarly, it should be possible to deploy a node which uses a fixed p2p IP by using loadBalancerIP for LoadBalancer services using a pre-reserved IP at the Cloud Provider (eg. for GCP).
However in this case, the p2p service would no longer be of type NodePort but instead of type LoadBalancer.
Automatic node port discovery was introduced in #28, however in some cases the operator will not want / be able to open a large range of ports (30000-32767) on their Kubernetes nodes.
An option should be added to fix the attributed nodePort, however in this case it might be impossible to support more than 1 replica for the statefulset as fixing the port will result in a port conflict for the second replica.
Similarly, it should be possible to deploy a node which uses a fixed p2p IP by using
loadBalancerIPfor LoadBalancer services using a pre-reserved IP at the Cloud Provider (eg. for GCP).However in this case, the p2p service would no longer be of type NodePort but instead of type LoadBalancer.