Question: how nodeport works in kubernetes?
Answer: A NodePort is an open port on every node of your cluster. Kubernetes transparently routes incoming traffic on the NodePort to your service, even if your application is running on a different node. ... However, a NodePort is assigned from a pool of cluster-configured NodePort ranges (typically 30000–32767).