Merge pull request 'Fix: Configure the chat service port and Jenkins pipeline.' (#33) from Nicolas_local_ops into master

Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/33
This commit is contained in:
Nicolas 2025-07-30 01:58:19 +00:00
commit 62952fe314
2 changed files with 25 additions and 8 deletions

View File

@ -3,7 +3,7 @@ library 'first-class-pipeline'
executeFreeleapsPipeline {
serviceName = 'freeleaps'
environmentSlug = 'alpha'
serviceGitBranch = 'dev'
serviceGitBranch = 'Nicolas_log'
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/products/freeleaps.git"
serviceGitRepoType = 'monorepo'
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'

View File

@ -22,7 +22,7 @@ chat:
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8007
containerPort: 8012
protocol: TCP
resources:
requests:
@ -31,13 +31,30 @@ chat:
limits:
cpu: "1"
memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs
probes: {}
probes:
liveness:
type: httpGet
config:
path: /api/_/livez
port: 8012
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readiness:
type: httpGet
config:
path: /api/_/readyz
port: 8012
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
services:
- name: chat-service
type: ClusterIP
port: 8007
targetPort: 8007
port: 8012
targetPort: 8012
serviceMonitor:
enabled: false
labels:
@ -55,7 +72,7 @@ chat:
# SERVICE_API_ACCESS_HOST
serviceApiAccessHost: "0.0.0.0"
# SERVICE_API_ACCESS_PORT
serviceApiAccessPort: "8013"
serviceApiAccessPort: "8012"
# MONGODB_NAME
mongodbName: ""
# MONGODB_URI
@ -107,7 +124,7 @@ chat:
# METRICS_ENABLED
metricsEnabled: "false"
# PROBES_ENABLED
probesEnabled: "false"
probesEnabled: "true"
vpa:
minAllowed:
enabled: false