different NodePort range for different Kubernetes users?

4/13/2017

I am running a Kubernetes cluster with quite a few users, it has happened several times that the NodePorts from different users conflict. Is it possible in Kubernetes to set different NodePort ranges for different users? Just like the --service-node-port-range with kube-apiserver, but this is for all the users not for specific user.

-- guangcheng li
kubernetes

1 Answer

4/13/2017

Your question is similar to this existing question and the answer will be same. It is not possible. You will have to communicate port ranges to your users and then check their deployments for enforcing the ranges, before actually deploying.

-- Oswin Noetzelmann
Source: StackOverflow