-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow fixing the p2p IP #29
Comments
When using type LoadBalancer our implementation would vary depending on the cloudProvider being used when we query a service to get the external address which is either an FQDN or an IP, which we then need to advertise when using AWS example:
Where as GCP will return:
This complicates how we then advertise, do we want to detect the address's format and then setup our multiaddr format based on if its an IP or FQDN? The current kubectl image we are using for the init container that queries these services has no Also currently our naming is very specific to NodePort
|
@PierreBesson Any comments on above suggestions? |
For me the renaming you propose with |
Fixing the p2p ports is now possible with chart |
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.
The text was updated successfully, but these errors were encountered: