Compare commits
4 Commits
1d0be90f72
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 163cfecad1 | |||
| d0b3d16ace | |||
| 1298f739e5 | |||
| 79f3d352cf |
@@ -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 }}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -36,7 +36,7 @@ metadata:
|
||||
namespace: dbiz-dev
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.110.72
|
||||
- ip: 192.168.110.76
|
||||
ports:
|
||||
- port: 6379
|
||||
---
|
||||
|
||||
@@ -50,7 +50,7 @@ prometheus:
|
||||
cpu: 200m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 2Gi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Alertmanager
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -36,7 +36,7 @@ metadata:
|
||||
namespace: dbiz-prod
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.110.72
|
||||
- ip: 192.168.110.76
|
||||
ports:
|
||||
- port: 6379
|
||||
---
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
secretName: tenant-api-secret
|
||||
replicaCount: 2
|
||||
replicaCount: 0
|
||||
|
||||
image:
|
||||
repository: renolation/dbiz-tenant-api
|
||||
|
||||
@@ -36,7 +36,7 @@ metadata:
|
||||
namespace: dbiz-staging
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.110.72
|
||||
- ip: 192.168.110.76
|
||||
ports:
|
||||
- port: 6379
|
||||
---
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
secretName: tenant-api-secret
|
||||
replicaCount: 2
|
||||
replicaCount: 0
|
||||
|
||||
image:
|
||||
repository: renolation/dbiz-tenant-api
|
||||
|
||||
Reference in New Issue
Block a user