fix: use unique ports 9100-9117 for all backend rust services

This commit is contained in:
Ashwin Kumar 2026-04-09 22:18:35 +02:00
parent 13edaa96f0
commit b568e52400
36 changed files with 105 additions and 103 deletions

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-catering-services
imagePullPolicy: Always
ports:
- containerPort: 10015
- containerPort: 9115
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10015
port: 9115
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10015
port: 9115
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-catering-services
ports:
- name: http
port: 10015
targetPort: 10015
port: 9115
targetPort: 9115
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-companies
imagePullPolicy: Always
ports:
- containerPort: 10002
- containerPort: 9102
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10002
port: 9102
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10002
port: 9102
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-companies
ports:
- name: http
port: 10002
targetPort: 10002
port: 9102
targetPort: 9102
protocol: TCP

View file

@ -5,22 +5,21 @@ metadata:
namespace: nxtgauge
data:
RUST_LOG: "info"
PORT: "10000"
FRONTEND_URL: "https://nxtgauge.com"
ADMIN_URL: "https://admin.nxtgauge.com"
USERS_SERVICE_URL: "http://nxtgauge-rust-users:10001"
COMPANIES_SERVICE_URL: "http://nxtgauge-rust-companies:10002"
JOB_SEEKERS_SERVICE_URL: "http://nxtgauge-rust-job-seekers:10003"
CUSTOMERS_SERVICE_URL: "http://nxtgauge-rust-customers:10004"
PAYMENTS_SERVICE_URL: "http://nxtgauge-rust-payments:10005"
EMPLOYEES_SERVICE_URL: "http://nxtgauge-rust-employees:10006"
PHOTOGRAPHERS_SERVICE_URL: "http://nxtgauge-rust-photographers:10007"
MAKEUP_ARTISTS_SERVICE_URL: "http://nxtgauge-rust-makeup-artists:10008"
TUTORS_SERVICE_URL: "http://nxtgauge-rust-tutors:10009"
DEVELOPERS_SERVICE_URL: "http://nxtgauge-rust-developers:10010"
VIDEO_EDITORS_SERVICE_URL: "http://nxtgauge-rust-video-editors:10011"
GRAPHIC_DESIGNERS_SERVICE_URL: "http://nxtgauge-rust-graphic-designers:10012"
SOCIAL_MEDIA_MANAGERS_SERVICE_URL: "http://nxtgauge-rust-social-media-managers:10013"
FITNESS_TRAINERS_SERVICE_URL: "http://nxtgauge-rust-fitness-trainers:10014"
CATERING_SERVICES_SERVICE_URL: "http://nxtgauge-rust-catering-services:10015"
UGC_CONTENT_CREATORS_SERVICE_URL: "http://nxtgauge-rust-ugc-content-creators:10016"
USERS_SERVICE_URL: "http://nxtgauge-rust-users:9101"
COMPANIES_SERVICE_URL: "http://nxtgauge-rust-companies:9102"
JOB_SEEKERS_SERVICE_URL: "http://nxtgauge-rust-job-seekers:9104"
CUSTOMERS_SERVICE_URL: "http://nxtgauge-rust-customers:9105"
EMPLOYEES_SERVICE_URL: "http://nxtgauge-rust-employees:9106"
PHOTOGRAPHERS_SERVICE_URL: "http://nxtgauge-rust-photographers:9107"
TUTORS_SERVICE_URL: "http://nxtgauge-rust-tutors:9108"
MAKEUP_ARTISTS_SERVICE_URL: "http://nxtgauge-rust-makeup-artists:9109"
DEVELOPERS_SERVICE_URL: "http://nxtgauge-rust-developers:9110"
VIDEO_EDITORS_SERVICE_URL: "http://nxtgauge-rust-video-editors:9111"
GRAPHIC_DESIGNERS_SERVICE_URL: "http://nxtgauge-rust-graphic-designers:9112"
SOCIAL_MEDIA_MANAGERS_SERVICE_URL: "http://nxtgauge-rust-social-media-managers:9113"
FITNESS_TRAINERS_SERVICE_URL: "http://nxtgauge-rust-fitness-trainers:9114"
CATERING_SERVICES_SERVICE_URL: "http://nxtgauge-rust-catering-services:9115"
PAYMENTS_SERVICE_URL: "http://nxtgauge-rust-payments:9116"
UGC_CONTENT_CREATORS_SERVICE_URL: "http://nxtgauge-rust-ugc-content-creators:9117"

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-customers
imagePullPolicy: Always
ports:
- containerPort: 10004
- containerPort: 9105
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10004
port: 9105
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10004
port: 9105
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-customers
ports:
- name: http
port: 10004
targetPort: 10004
port: 9105
targetPort: 9105
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-developers
imagePullPolicy: Always
ports:
- containerPort: 10010
- containerPort: 9110
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10010
port: 9110
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10010
port: 9110
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-developers
ports:
- name: http
port: 10010
targetPort: 10010
port: 9110
targetPort: 9110
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-employees
imagePullPolicy: Always
ports:
- containerPort: 10006
- containerPort: 9106
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10006
port: 9106
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10006
port: 9106
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-employees
ports:
- name: http
port: 10006
targetPort: 10006
port: 9106
targetPort: 9106
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-fitness-trainers
imagePullPolicy: Always
ports:
- containerPort: 10014
- containerPort: 9114
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10014
port: 9114
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10014
port: 9114
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-fitness-trainers
ports:
- name: http
port: 10014
targetPort: 10014
port: 9114
targetPort: 9114
protocol: TCP

View file

@ -20,17 +20,20 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-gateway
imagePullPolicy: Always
ports:
- containerPort: 10000
- containerPort: 9100
name: http
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
env:
- name: PORT
value: "9100"
readinessProbe:
httpGet:
path: /health
port: 10000
port: 9100
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +41,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10000
port: 9100
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-gateway
ports:
- name: http
port: 10000
targetPort: 10000
port: 9100
targetPort: 9100
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-graphic-designers
imagePullPolicy: Always
ports:
- containerPort: 10012
- containerPort: 9112
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10012
port: 9112
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10012
port: 9112
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-graphic-designers
ports:
- name: http
port: 10012
targetPort: 10012
port: 9112
targetPort: 9112
protocol: TCP

View file

@ -15,4 +15,4 @@ spec:
service:
name: nxtgauge-rust-gateway
port:
number: 10000
number: 9100

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-job-seekers
imagePullPolicy: Always
ports:
- containerPort: 10003
- containerPort: 9104
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10003
port: 9104
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10003
port: 9104
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-job-seekers
ports:
- name: http
port: 10003
targetPort: 10003
port: 9104
targetPort: 9104
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-makeup-artists
imagePullPolicy: Always
ports:
- containerPort: 10008
- containerPort: 9109
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10008
port: 9109
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10008
port: 9109
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-makeup-artists
ports:
- name: http
port: 10008
targetPort: 10008
port: 9109
targetPort: 9109
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-payments
imagePullPolicy: Always
ports:
- containerPort: 10005
- containerPort: 9116
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10005
port: 9116
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10005
port: 9116
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-payments
ports:
- name: http
port: 10005
targetPort: 10005
port: 9116
targetPort: 9116
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-photographers
imagePullPolicy: Always
ports:
- containerPort: 10007
- containerPort: 9107
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10007
port: 9107
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10007
port: 9107
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-photographers
ports:
- name: http
port: 10007
targetPort: 10007
port: 9107
targetPort: 9107
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-social-media-managers
imagePullPolicy: Always
ports:
- containerPort: 10013
- containerPort: 9113
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10013
port: 9113
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10013
port: 9113
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-social-media-managers
ports:
- name: http
port: 10013
targetPort: 10013
port: 9113
targetPort: 9113
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-tutors
imagePullPolicy: Always
ports:
- containerPort: 10009
- containerPort: 9108
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10009
port: 9108
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10009
port: 9108
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-tutors
ports:
- name: http
port: 10009
targetPort: 10009
port: 9108
targetPort: 9108
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-ugc-content-creators
imagePullPolicy: Always
ports:
- containerPort: 10016
- containerPort: 9117
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10016
port: 9117
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10016
port: 9117
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-ugc-content-creators
ports:
- name: http
port: 10016
targetPort: 10016
port: 9117
targetPort: 9117
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-users
imagePullPolicy: Always
ports:
- containerPort: 10001
- containerPort: 9101
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10001
port: 9101
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10001
port: 9101
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-users
ports:
- name: http
port: 10001
targetPort: 10001
port: 9101
targetPort: 9101
protocol: TCP

View file

@ -20,7 +20,7 @@ spec:
image: ghcr.io/traceworks2023/nxtgauge-rust-video-editors
imagePullPolicy: Always
ports:
- containerPort: 10011
- containerPort: 9111
name: http
envFrom:
- configMapRef:
@ -30,7 +30,7 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 10011
port: 9111
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
@ -38,7 +38,7 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 10011
port: 9111
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3

View file

@ -11,6 +11,6 @@ spec:
app: nxtgauge-rust-video-editors
ports:
- name: http
port: 10011
targetPort: 10011
port: 9111
targetPort: 9111
protocol: TCP