Port number confliction

After installation of JupyterHub on Microk8s and enable https, I know I can setup fixed port (for example 30000) in yaml by:

proxy:
    service:
        nodePorts:
            https: 30000

If I install second JupyterHub on microk8s, does the second JupyterHub know the port 30000 is used already and create different number? Thanks.

The nodePort selection is handled by Kubernetes (not JupyterHub):

so Kubernetes should automatically pick a free port, unless you override it.