nxtgauge-gitops/apps/nxtgauge-backend/base/graphic-designers-deployment.yaml

46 lines
1.2 KiB
YAML

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