blob: cc2fdb324dfc372a86eaba0fb143506f1d018614 [file] [log] [blame]
apiVersion: apps/v1
kind: Deployment
metadata:
name: $KUBE_PROXY_APP_NAME
namespace: $KUBE_SIM_NAMESPACE
labels:
run: $KUBE_PROXY_APP_NAME
autotest: KUBEPROXY
spec:
replicas: 1
selector:
matchLabels:
run: $KUBE_PROXY_APP_NAME
template:
metadata:
labels:
run: $KUBE_PROXY_APP_NAME
autotest: KUBEPROXY
spec:
containers:
- name: $KUBE_PROXY_APP_NAME
image: $KUBE_PROXY_IMAGE
imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
ports:
- name: http
containerPort: $KUBE_PROXY_INTERNAL_PORT
- name: web
containerPort: $KUBE_PROXY_WEB_INTERNAL_PORT
- name: https
containerPort: $KUBE_PROXY_INTERNAL_SECURE_PORT
- name: webs
containerPort: $KUBE_PROXY_WEB_INTERNAL_SECURE_PORT