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