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
18 lines
399 B
YAML
18 lines
399 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nxtgauge-backend-rust
|
|
namespace: nxtgauge
|
|
spec:
|
|
ingressClassName: traefik
|
|
rules:
|
|
- host: api.nxtgauge.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nxtgauge-rust-gateway
|
|
port:
|
|
number: 10000
|