BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $KUBE_PROXY_APP_NAME |
| 5 | namespace: $KUBE_SIM_NAMESPACE |
| 6 | labels: |
| 7 | run: $KUBE_PROXY_APP_NAME |
| 8 | autotest: KUBEPROXY |
| 9 | spec: |
| 10 | type: NodePort |
| 11 | ports: |
| 12 | - port: $KUBE_PROXY_EXTERNAL_PORT |
| 13 | targetPort: $KUBE_PROXY_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
| 16 | nodePort: |
| 17 | - port: $KUBE_PROXY_WEB_EXTERNAL_PORT |
| 18 | targetPort: $KUBE_PROXY_WEB_INTERNAL_PORT |
| 19 | protocol: TCP |
| 20 | name: web |
| 21 | selector: |
| 22 | run: $KUBE_PROXY_APP_NAME |