We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608adcf commit 9249dbdCopy full SHA for 9249dbd
1 file changed
apiserver/paasng/paas_wl/bk_app/agent_sandbox/kres_slzs.py
@@ -75,14 +75,13 @@ def _construct_pod_spec(obj: "AgentSandbox") -> Dict:
75
"periodSeconds": 1,
76
"failureThreshold": 300,
77
},
78
- # readinessProbe: startup 成功后接管,每 10s 探测一次,连续 2 次失败(~20s)标记为 Not Ready
+ # readinessProbe: startup 成功后接管,每 2s 探测一次,连续 2 次失败(~20s)标记为 Not Ready
79
"readinessProbe": {
80
"tcpSocket": {
81
"port": DAEMON_BIND_PORT,
82
83
- # 接管后立即探测
84
"initialDelaySeconds": 0,
85
- "periodSeconds": 10,
+ "periodSeconds": 2,
86
"failureThreshold": 2,
87
88
}
0 commit comments