fix(k3s): 放宽数据库隔离探针容忍窗口
避免跨节点控制面短时拥塞导致主库被默认 30 秒 liveness 窗口误判并重启。\n\n保持隔离检查开启,将 livenessProbeTimeout 调整为 300 秒,并把隔离检查连接与请求超时调整为 5 秒。已通过线上 CRD 字段核验和 kubectl 服务端 dry-run。
This commit is contained in:
@@ -72,6 +72,13 @@ spec:
|
|||||||
switchoverDelay: 60
|
switchoverDelay: 60
|
||||||
stopDelay: 90
|
stopDelay: 90
|
||||||
smartShutdownTimeout: 30
|
smartShutdownTimeout: 30
|
||||||
|
livenessProbeTimeout: 300
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
isolationCheck:
|
||||||
|
enabled: true
|
||||||
|
connectionTimeout: 5000
|
||||||
|
requestTimeout: 5000
|
||||||
bootstrap:
|
bootstrap:
|
||||||
initdb:
|
initdb:
|
||||||
database: easyai_ai_gateway
|
database: easyai_ai_gateway
|
||||||
|
|||||||
Reference in New Issue
Block a user