Maximum number of ephemeral ports

We are currently testing a container-based deployment of CryoSPARC using Kubernetes at our HPC center. One issue we’ve encountered is that CryoSPARC utilizes ports within the ephemeral port range in addition to its designated static ports. To ensure reliable operation and avoid port conflicts, we would like to determine the maximum number of ephemeral ports that should be allocated per CryoSPARC instance. Could you please provide more information on ephemeral ports? Thanks

Any suggestions on how to configure ephemeral port for a container?