blob: c92c069cdc46bfcabb17e8e43ac783cd946f4c5b [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:
BjornMagnussonXAa69cd902021-04-22 23:46:10 +020010 type: LoadBalancer
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010011 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
BjornMagnussonXA483ee332021-04-08 01:35:24 +020021 nodePort:
BjornMagnussonXA674793d2021-05-06 19:49:17 +020022 - port: $KUBE_PROXY_EXTERNAL_SECURE_PORT
23 targetPort: $KUBE_PROXY_INTERNAL_SECURE_PORT
24 protocol: TCP
25 name: https
26 nodePort:
27 - port: $KUBE_PROXY_WEB_EXTERNAL_SECURE_PORT
28 targetPort: $KUBE_PROXY_WEB_INTERNAL_SECURE_PORT
29 protocol: TCP
30 name: webs
31 nodePort:
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010032 selector:
33 run: $KUBE_PROXY_APP_NAME