diff --git a/charts/dragonfly/Chart.yaml b/charts/dragonfly/Chart.yaml index e2806d2f..965e8713 100644 --- a/charts/dragonfly/Chart.yaml +++ b/charts/dragonfly/Chart.yaml @@ -3,7 +3,7 @@ name: dragonfly description: Dragonfly is an intelligent P2P based image and file distribution system icon: https://raw.githubusercontent.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 @@ -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 diff --git a/charts/dragonfly/templates/client/client-daemonset.yaml b/charts/dragonfly/templates/client/client-daemonset.yaml index f1bce799..1c59c17b 100644 --- a/charts/dragonfly/templates/client/client-daemonset.yaml +++ b/charts/dragonfly/templates/client/client-daemonset.yaml @@ -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 diff --git a/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml b/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml index 01309895..99a5044a 100644 --- a/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml +++ b/charts/dragonfly/templates/seed-client/seed-client-statefulset.yaml @@ -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