Moved all backend service ports from 8000-8096 range to 10000-10016 range to avoid port conflicts causing pod shutdowns. Port assignments: - Gateway: 10000 (was 8000) - Users: 10001 (was 8080) - Companies: 10002 (was 8081) - Job Seekers: 10003 (was 8082) - Customers: 10004 (was 8083) - Payments: 10005 (was 8094) - Employees: 10006 (was 8096) - Photographers: 10007 (was 8085) - Makeup Artists: 10008 (was 8086) - Tutors: 10009 (was 8087) - Developers: 10010 (was 8088) - Video Editors: 10011 (was 8089) - Graphic Designers: 10012 (was 8090) - Social Media Managers: 10013 (was 8091) - Fitness Trainers: 10014 (was 8092) - Catering Services: 10015 (was 8093) - UGC Content Creators: 10016 (was 8095) Updated: deployments, services, configmap, ingress
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nxtgauge-rust-video-editors
|
|
namespace: nxtgauge
|
|
labels:
|
|
app: nxtgauge-rust-video-editors
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nxtgauge-rust-video-editors
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nxtgauge-rust-video-editors
|
|
spec:
|
|
containers:
|
|
- name: video_editors
|
|
image: ghcr.io/traceworks2023/nxtgauge-rust-video-editors
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 10011
|
|
name: http
|
|
envFrom:
|
|
- configMapRef:
|
|
name: nxtgauge-backend-rust-config
|
|
- secretRef:
|
|
name: nxtgauge-backend-rust-secrets
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 10011
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 10011
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 20
|
|
timeoutSeconds: 3
|
|
failureThreshold: 5
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|