| apiVersion: v1 |
| kind: Service |
| metadata: |
| name: $KUBE_PROXY_APP_NAME |
| namespace: $KUBE_SIM_NAMESPACE |
| labels: |
| run: $KUBE_PROXY_APP_NAME |
| autotest: KUBEPROXY |
| spec: |
| type: LoadBalancer |
| ports: |
| - port: $KUBE_PROXY_EXTERNAL_PORT |
| targetPort: $KUBE_PROXY_INTERNAL_PORT |
| protocol: TCP |
| name: http |
| nodePort: |
| - port: $KUBE_PROXY_WEB_EXTERNAL_PORT |
| targetPort: $KUBE_PROXY_WEB_INTERNAL_PORT |
| protocol: TCP |
| name: web |
| nodePort: |
| - port: $KUBE_PROXY_EXTERNAL_SECURE_PORT |
| targetPort: $KUBE_PROXY_INTERNAL_SECURE_PORT |
| protocol: TCP |
| name: https |
| nodePort: |
| - port: $KUBE_PROXY_WEB_EXTERNAL_SECURE_PORT |
| targetPort: $KUBE_PROXY_WEB_INTERNAL_SECURE_PORT |
| protocol: TCP |
| name: webs |
| nodePort: |
| selector: |
| run: $KUBE_PROXY_APP_NAME |