Compare commits

..

4 Commits

11 changed files with 14 additions and 11 deletions

View File

@@ -39,6 +39,7 @@ spec:
port: {{ .Values.service.port }}
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }}
periodSeconds: {{ .Values.probe.periodSeconds }}
timeoutSeconds: {{ .Values.probe.timeoutSeconds | default 5 }}
failureThreshold: {{ .Values.probe.failureThreshold }}
livenessProbe:
httpGet:
@@ -46,6 +47,7 @@ spec:
port: {{ .Values.service.port }}
initialDelaySeconds: {{ add .Values.probe.initialDelaySeconds 60 }}
periodSeconds: {{ .Values.probe.periodSeconds }}
timeoutSeconds: {{ .Values.probe.timeoutSeconds | default 5 }}
failureThreshold: {{ .Values.probe.failureThreshold }}
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@@ -14,6 +14,7 @@ probe:
path: /actuator/health
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5 # /actuator/health gọi DB/Redis/Kafka nên >1s, tránh probe timeout
failureThreshold: 30 # cho phép start chậm (Liquibase migrate)
# Map env tự do — KHÔNG fix tên (mỗi service tên env khác nhau)

View File

@@ -36,7 +36,7 @@ metadata:
namespace: dbiz-dev
subsets:
- addresses:
- ip: 192.168.110.72
- ip: 192.168.110.76
ports:
- port: 6379
---

View File

@@ -50,7 +50,7 @@ prometheus:
cpu: 200m
memory: 512Mi
limits:
memory: 1Gi
memory: 2Gi
# ---------------------------------------------------------------------------
# Alertmanager

View File

@@ -38,7 +38,7 @@ env:
SPRING_LIQUIBASE_CHANGE_LOG: "classpath:db/changelog/db.changelog-master.xml"
SPRING_LIQUIBASE_DEFAULT_SCHEMA: "DBIZ_PLATFORM"
# Redis / Valkey
SPRING_DATA_REDIS_HOST: "192.168.110.72"
SPRING_DATA_REDIS_HOST: "192.168.110.76"
# Kafka
SPRING_KAFKA_BOOTSTRAP_SERVERS: "192.168.110.70:9092"
# S3 (SeaweedFS)

View File

@@ -36,7 +36,7 @@ metadata:
namespace: dbiz-prod
subsets:
- addresses:
- ip: 192.168.110.72
- ip: 192.168.110.76
ports:
- port: 6379
---

View File

@@ -1,5 +1,5 @@
secretName: platform-api-secret
replicaCount: 2 # provisioning PDB → KHÔNG scale
replicaCount: 0 # provisioning PDB → KHÔNG scale
image:
repository: renolation/dbiz-platform-api
@@ -38,7 +38,7 @@ env:
SPRING_LIQUIBASE_CHANGE_LOG: "classpath:db/changelog/db.changelog-master.xml"
SPRING_LIQUIBASE_DEFAULT_SCHEMA: "DBIZ_PLATFORM"
# Redis / Valkey
SPRING_DATA_REDIS_HOST: "192.168.110.72"
SPRING_DATA_REDIS_HOST: "192.168.110.76"
# Kafka
SPRING_KAFKA_BOOTSTRAP_SERVERS: "192.168.110.70:9092"
# S3 (SeaweedFS)

View File

@@ -1,5 +1,5 @@
secretName: tenant-api-secret
replicaCount: 2
replicaCount: 0
image:
repository: renolation/dbiz-tenant-api

View File

@@ -36,7 +36,7 @@ metadata:
namespace: dbiz-staging
subsets:
- addresses:
- ip: 192.168.110.72
- ip: 192.168.110.76
ports:
- port: 6379
---

View File

@@ -1,5 +1,5 @@
secretName: platform-api-secret
replicaCount: 2 # provisioning PDB → KHÔNG scale
replicaCount: 0 # provisioning PDB → KHÔNG scale
image:
repository: renolation/dbiz-platform-api
@@ -38,7 +38,7 @@ env:
SPRING_LIQUIBASE_CHANGE_LOG: "classpath:db/changelog/db.changelog-master.xml"
SPRING_LIQUIBASE_DEFAULT_SCHEMA: "DBIZ_PLATFORM"
# Redis / Valkey
SPRING_DATA_REDIS_HOST: "192.168.110.72"
SPRING_DATA_REDIS_HOST: "192.168.110.76"
# Kafka
SPRING_KAFKA_BOOTSTRAP_SERVERS: "192.168.110.70:9092"
# S3 (SeaweedFS)

View File

@@ -1,5 +1,5 @@
secretName: tenant-api-secret
replicaCount: 2
replicaCount: 0
image:
repository: renolation/dbiz-tenant-api