<p>In docker run command, we can specify host port range to bind to EXPOSEd container port. Same thing I want to do through Kubernetes. Does any one know, how to do that? My current pod definition is as-</p>

<pre><code>apiVersion: v1  
kind: Pod  
metadata:  
  name: nginx-testing  
spec:  
   containers:  
   - name: nginx-container  
     image: docker.io/nginx  
     ports:  
     - containerPort: 80  
       hostPort: 9088  
</code></pre>

<p>At the last line, Instead of specifying single port number, I want a range of port numbers.  I tried  something like <code>hostPort: 9088-9999 or 9088..9999</code>, but it wouldn't worked. </p>

<p>Port ranges are not currently supported in any of the Kubernetes API objects. There is an open <a href="https://github.com/kubernetes/kubernetes/issues/23864" rel="noreferrer">issue</a> discussing port ranges in services. Please add your use case and your thoughts!</p>
