platform/server/front/kube/front.yml
Andrey Platov 3e8a531099
move k8s stuff to kube folder
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
2021-08-28 22:33:10 +02:00

33 lines
488 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: front
spec:
replicas: 5
selector:
matchLabels:
app: front
template:
metadata:
labels:
app: front
spec:
containers:
- name: app
image: anticrm/front
ports:
- containerPort: 8080
imagePullPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: front
spec:
selector:
app: front
ports:
- port: 80
targetPort: 8080