Skip to content

Allow to specify a port range for opening sessions #6579

@ausias-armesto

Description

@ausias-armesto

Is your feature related to a problem?

The new session feature requires to have access to more ports than static ports for API and P2P. The usage of this feature in Kubernetes is not straightforward, as you need to specify the ports that might be use before hand for the Pod.

Describe the feature you'd like

I would like to create a new configuration parameter where the user would specify the port range that needs to be used by the session management feature. And on the creation of a new session use any of the free ports in the port range.
In fact, it is required that they are exposed as well as environment variables (HOPRD_SESSION_MIN_PORT, HOPRD_SESSION_MAX_PORT), as it would simplify how I customise any nodes in Kubernetes, specially for cluster of nodes.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions