Skip to content

Commit 5313c32

Browse files
committed
fix(beeai-server): improve agent probes
Signed-off-by: Jan Pokorný <[email protected]>
1 parent b7c8b3e commit 5313c32

File tree

1 file changed

+5
-4
lines changed
  • apps/beeai-server/src/beeai_server/infrastructure/kubernetes/default_templates

1 file changed

+5
-4
lines changed

apps/beeai-server/src/beeai_server/infrastructure/kubernetes/default_templates/deployment.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,18 @@ spec:
2727
envFrom:
2828
- secretRef:
2929
name: "{{ provider_secret_name }}"
30-
livenessProbe:
30+
startupProbe:
3131
httpGet:
3232
path: /.well-known/agent-card.json
3333
port: 8000
3434
initialDelaySeconds: 1
3535
periodSeconds: 3
3636
timeoutSeconds: 2
37-
readinessProbe:
37+
failureThreshold: 20
38+
livenessProbe:
3839
httpGet:
3940
path: /.well-known/agent-card.json
4041
port: 8000
41-
initialDelaySeconds: 1
42-
periodSeconds: 3
42+
periodSeconds: 10
4343
timeoutSeconds: 2
44+
failureThreshold: 2

0 commit comments

Comments
 (0)