nxtgauge-gitops/apps/nxtgauge-backend/base/catering-services-deployment.yaml

46 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-catering-services
namespace: nxtgauge
labels:
app: nxtgauge-catering-services
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-catering-services
template:
metadata:
labels:
app: nxtgauge-catering-services
spec:
containers:
- name: catering-services
image: ghcr.io/traceworks2023/nxtgauge-backend
imagePullPolicy: Always
ports:
- containerPort: 50063
name: grpc
env:
- name: APP
value: "professionals"
- name: PROFESSIONAL_SERVICE_CATEGORY
value: "catering_services"
- name: PROFESSIONALS_PORT
value: "50063"
envFrom:
- configMapRef:
name: nxtgauge-backend-config
- secretRef:
name: nxtgauge-backend-secrets
readinessProbe:
tcpSocket:
port: 50063
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 50063
initialDelaySeconds: 15
periodSeconds: 20