title: Kubernetes proxy with multiple ports
body: <p>is it possible to use the kubernetes api server's proxy feature to go to a specific port I have open on a service when I have many ports open? </p>
  
  <p>I have looked at the swagger api spec, and there doesnt seem to be any parameter for choosing one of the potentially many ports of a service. </p>
  
  <p>I have this influxdb service: </p>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    labels:
      base_name: influx
    name: influx
    namespace: test
  spec:
    clusterIP: 10.3.0.12
    ports:
    - name: admin-panel
      nodePort: 32646
      port: 8083
      protocol: TCP
      targetPort: 8083
    - name: api
      nodePort: 32613
      port: 8086
      protocol: TCP
      targetPort: 8086
    - name: snapshots
      nodePort: 30586
      port: 8087
      protocol: TCP
      targetPort: 8087
    selector:
      base_name: influx
    sessionAffinity: None
    type: NodePort
  status:
    loadBalancer: {}
  </code></pre>
  
  <p>and I am trying to access the admin-pannel through the kubernetes api proxy like so:</p>
  
  <pre><code>https://kube-master/api/v1/proxy/namespaces/test/services/influx
  </code></pre>
  
  <p>which results in a 503 error</p>
  
  <pre><code>{
  kind: "Status",
  apiVersion: "v1",
  metadata: { },
  status: "Failure",
  message: "no endpoints available for service "influx"",
  reason: "ServiceUnavailable",
  code: 503
  }
  </code></pre>