Skip to content

Commit

Permalink
feat: change probe timeout for client (#303)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi authored Jul 13, 2024
1 parent 737620c commit 28f4644
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://github.com/dragonflyoss/Dragonfly2/main/docs/images/logo/dragonfly.svg
type: application
version: 1.1.73
version: 1.1.74
appVersion: 2.1.51
keywords:
- dragonfly
Expand All @@ -27,7 +27,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Change readinessProbe and livenessProbe for client and seed-client.
- Change probe timeout for client.
artifacthub.io/links: |
- name: Chart Source
Expand Down
4 changes: 2 additions & 2 deletions charts/dragonfly/templates/client/client-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ spec:
protocol: TCP
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.client.config.download.server.socketPath }}"]
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.client.config.download.server.socketPath }}", "-connect-timeout=5s", "-rpc-timeout=5s"]
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 5
livenessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.client.config.download.server.socketPath }}"]
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.client.config.download.server.socketPath }}", "-connect-timeout=5s", "-rpc-timeout=5s"]
initialDelaySeconds: 15
periodSeconds: 30
timeoutSeconds: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ spec:
protocol: TCP
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.seedClient.config.download.server.socketPath }}"]
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.seedClient.config.download.server.socketPath }}", "-connect-timeout=5s", "-rpc-timeout=5s"]
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 5
livenessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.seedClient.config.download.server.socketPath }}"]
command: ["/bin/grpc_health_probe", "-addr=unix://{{ .Values.seedClient.config.download.server.socketPath }}", "-connect-timeout=5s", "-rpc-timeout=5s"]
initialDelaySeconds: 15
periodSeconds: 30
timeoutSeconds: 5
Expand Down

0 comments on commit 28f4644

Please sign in to comment.