blob: 1a11fc408e65ccf2f388df5d3f5ab9df393810bf [file] [log] [blame]
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $KUBE_PROXY_APP_NAME
5 namespace: $KUBE_SIM_NAMESPACE
6 labels:
7 run: $KUBE_PROXY_APP_NAME
8 autotest: KUBEPROXY
9spec:
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