[RHOCP 4] Ability to specify multiple NodePort ranges in OpenShift
Issue
-
How to specify multiple
NodePortranges in Red HatOpenShift Container Platform? -
The existing parameter
serviceNodePortRangeshould specify the range ofportsthat are opened up externally, but a second parameter:serviceNodePortAllocationRangewould allow specifying the range available for dynamicNodePortallocation.For instance, the range
7000-31999is only available for staticNodePortallocation while32000-32768would be dynamic, when aNodePortvalue is not specified in theservicedefinition:oc patch network.config.openshift.io cluster --type=merge -p '{ "spec": { "serviceNodePortRange": "7000-32768" serviceNodePortAllocationRange : “32000-32768” } }' -
Is it possible to separate
NodePortallocation range from the available range in OpenShift?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.