title: How to specify host port range instead of host port in kubernete's pod yaml file?
body: <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>