nxtgauge-gitops/apps/nxtgauge-backend-rust/base/makeup-artists-deployment.yaml
Ashwin Kumar 13edaa96f0 fix: change all service ports to 10000+ range to avoid conflicts
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
2026-04-09 13:47:54 +02:00

52 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-rust-makeup-artists
namespace: nxtgauge
labels:
app: nxtgauge-rust-makeup-artists
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-rust-makeup-artists
template:
metadata:
labels:
app: nxtgauge-rust-makeup-artists
spec:
containers:
- name: makeup_artists
image: ghcr.io/traceworks2023/nxtgauge-rust-makeup-artists
imagePullPolicy: Always
ports:
- containerPort: 10008
name: http
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
readinessProbe:
httpGet:
path: /health
port: 10008
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: 10008
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 5
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi