blob: 51cf7450e45c5569b9a45dd212f859077266723b [file] [log] [blame]
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:
selector:
run: $KUBE_PROXY_APP_NAME