blob: 51cf7450e45c5569b9a45dd212f859077266723b [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:
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010022 selector:
23 run: $KUBE_PROXY_APP_NAME