Compare commits

...

3 Commits

Author SHA1 Message Date
Gaius 1f55fc587a
chore: bump dragonfly to v2.3.1-rc.2 and bump client to v1.0.9 (#405)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-08-05 21:36:44 +08:00
dependabot[bot] 7589dfc9a6
chore(deps): bump kentaro-m/auto-assign-action from db77befe126df3163e8ee988af621569f7f2b82f to 9f6dbe84a80c6e7639d1b9698048b201052a2a94 (#404)
chore(deps): bump kentaro-m/auto-assign-action

Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action) from db77befe126df3163e8ee988af621569f7f2b82f to 9f6dbe84a80c6e7639d1b9698048b201052a2a94.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases)
- [Commits](db77befe12...9f6dbe84a8)

---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
  dependency-version: 9f6dbe84a80c6e7639d1b9698048b201052a2a94
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-05 17:49:51 +08:00
Gaius f36a6f9315
feat: add path for tracing configurations (#397)
* feat: add path for tracing configurations

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: bump manager and scheduler to v2.2.4-rc.2

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-17 15:41:21 +08:00
21 changed files with 69 additions and 83 deletions

View File

@ -8,4 +8,4 @@ jobs:
add-assignee:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@db77befe126df3163e8ee988af621569f7f2b82f
- uses: kentaro-m/auto-assign-action@9f6dbe84a80c6e7639d1b9698048b201052a2a94

View File

@ -3,8 +3,8 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
type: application
version: 1.4.2
appVersion: 2.3.0
version: 1.4.4
appVersion: 2.3.1-rc.2
keywords:
- dragonfly
- d7y
@ -27,7 +27,8 @@ sources:
annotations:
artifacthub.io/changes: |
- Update default plugin directory to /usr/local/lib/dragonfly/plugins/ on Linux
- Bump Dragonfly to v2.3.1-rc.2.
- Bump Client to v1.0.9.
artifacthub.io/links: |
- name: Chart Source
@ -38,15 +39,15 @@ annotations:
url: https://github.com/dragonflyoss/client
artifacthub.io/images: |
- name: manager
image: dragonflyoss/manager:v2.3.0
image: dragonflyoss/manager:v2.3.1-rc.2
- name: scheduler
image: dragonflyoss/scheduler:v2.3.0
image: dragonflyoss/scheduler:v2.3.1-rc.2
- name: client
image: dragonflyoss/client:v1.0.1
image: dragonflyoss/client:v1.0.9
- name: seed-client
image: dragonflyoss/client:v1.0.1
image: dragonflyoss/client:v1.0.9
- name: dfinit
image: dragonflyoss/dfinit:v1.0.1
image: dragonflyoss/dfinit:v1.0.9
dependencies:
- name: mysql

View File

@ -164,6 +164,7 @@ helm delete dragonfly --namespace dragonfly-system
| client.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
| client.config.storage.writeBufferSize | int | `4194304` | writeBufferSize is the buffer size for writing piece to disk, default is 4MiB. |
| client.config.storage.writePieceTimeout | string | `"30s"` | writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache). |
| client.config.tracing.protocol | string | `""` | Protocol specifies the communication protocol for the tracing server. Supported values: "http", "https", "grpc" (default: None). This determines how tracing logs are transmitted to the server. |
| client.config.upload.disableShared | bool | `false` | disableShared indicates whether disable to share data with other peers. |
| client.config.upload.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the upload speed in GiB/Mib/Kib per second, default is 50GiB/s. |
| client.config.upload.server.port | int | `4000` | port is the port to the grpc server. |
@ -178,7 +179,7 @@ helm delete dragonfly --namespace dragonfly-system
| client.dfinit.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| client.dfinit.image.registry | string | `"docker.io"` | Image registry. |
| client.dfinit.image.repository | string | `"dragonflyoss/dfinit"` | Image repository. |
| client.dfinit.image.tag | string | `"v1.0.1"` | Image tag. |
| client.dfinit.image.tag | string | `"v1.0.9"` | Image tag. |
| client.dfinit.restartContainerRuntime | bool | `true` | restartContainerRuntime indicates whether to restart container runtime when dfinit is enabled. it should be set to true when your first install dragonfly. If non-hot load configuration changes are made, the container runtime needs to be restarted. |
| client.enable | bool | `true` | Enable client. |
| client.extraVolumeMounts | list | `[{"mountPath":"/var/lib/dragonfly/","name":"storage"},{"mountPath":"/var/log/dragonfly/dfdaemon/","name":"logs"}]` | Extra volumeMounts for dfdaemon. |
@ -193,7 +194,7 @@ helm delete dragonfly --namespace dragonfly-system
| client.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
| client.image.registry | string | `"docker.io"` | Image registry. |
| client.image.repository | string | `"dragonflyoss/client"` | Image repository. |
| client.image.tag | string | `"v1.0.1"` | Image tag. |
| client.image.tag | string | `"v1.0.9"` | Image tag. |
| client.initContainer.image.digest | string | `""` | Image digest. |
| client.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| client.initContainer.image.registry | string | `"docker.io"` | Image registry. |
@ -277,6 +278,7 @@ helm delete dragonfly --namespace dragonfly-system
| manager.config.server.rest.tls.cert | string | `""` | Certificate file path. |
| manager.config.server.rest.tls.key | string | `""` | Key file path. |
| manager.config.server.workHome | string | `""` | Work directory. |
| manager.config.tracing.protocol | string | `"grpc"` | Protocol specifies the communication protocol for the tracing server. Supported values: "http", "https", "grpc" (default: None). This determines how tracing logs are transmitted to the server. |
| manager.deploymentAnnotations | object | `{}` | Deployment annotations. |
| manager.enable | bool | `true` | Enable manager. |
| manager.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/manager","name":"logs"}]` | Extra volumeMounts for manager. |
@ -290,7 +292,7 @@ helm delete dragonfly --namespace dragonfly-system
| manager.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
| manager.image.registry | string | `"docker.io"` | Image registry. |
| manager.image.repository | string | `"dragonflyoss/manager"` | Image repository. |
| manager.image.tag | string | `"v2.3.0"` | Image tag. |
| manager.image.tag | string | `"v2.3.1-rc.2"` | Image tag. |
| manager.ingress.annotations | object | `{}` | Ingress annotations. |
| manager.ingress.className | string | `""` | Ingress class name. Requirement: kubernetes >=1.18. |
| manager.ingress.enable | bool | `false` | Enable ingress. |
@ -378,6 +380,7 @@ helm delete dragonfly --namespace dragonfly-system
| scheduler.config.server.pluginDir | string | `""` | Plugin directory. |
| scheduler.config.server.port | int | `8002` | Server port. |
| scheduler.config.server.workHome | string | `""` | Work directory. |
| scheduler.config.tracing.protocol | string | `""` | Protocol specifies the communication protocol for the tracing server. Supported values: "http", "https", "grpc" (default: None). This determines how tracing logs are transmitted to the server. |
| scheduler.containerPort | int | `8002` | Pod containerPort. |
| scheduler.enable | bool | `true` | Enable scheduler. |
| scheduler.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/scheduler","name":"logs"}]` | Extra volumeMounts for scheduler. |
@ -390,7 +393,7 @@ helm delete dragonfly --namespace dragonfly-system
| scheduler.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
| scheduler.image.registry | string | `"docker.io"` | Image registry. |
| scheduler.image.repository | string | `"dragonflyoss/scheduler"` | Image repository. |
| scheduler.image.tag | string | `"v2.3.0"` | Image tag. |
| scheduler.image.tag | string | `"v2.3.1-rc.2"` | Image tag. |
| scheduler.initContainer.image.digest | string | `""` | Image digest. |
| scheduler.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| scheduler.initContainer.image.registry | string | `"docker.io"` | Image registry. |
@ -465,6 +468,7 @@ helm delete dragonfly --namespace dragonfly-system
| seedClient.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
| seedClient.config.storage.writeBufferSize | int | `4194304` | writeBufferSize is the buffer size for writing piece to disk, default is 4MiB. |
| seedClient.config.storage.writePieceTimeout | string | `"30s"` | writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache). |
| seedClient.config.tracing.protocol | string | `""` | Protocol specifies the communication protocol for the tracing server. Supported values: "http", "https", "grpc" (default: None). This determines how tracing logs are transmitted to the server. |
| seedClient.config.upload.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the upload speed in GiB/Mib/Kib per second, default is 50GiB/s. |
| seedClient.config.upload.server.port | int | `4000` | port is the port to the grpc server. |
| seedClient.config.upload.server.requestRateLimit | int | `4000` | request_rate_limit is the rate limit of the upload request in the upload grpc server, default is 4000 req/s. |
@ -479,7 +483,7 @@ helm delete dragonfly --namespace dragonfly-system
| seedClient.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
| seedClient.image.registry | string | `"docker.io"` | Image registry. |
| seedClient.image.repository | string | `"dragonflyoss/client"` | Image repository. |
| seedClient.image.tag | string | `"v1.0.1"` | Image tag. |
| seedClient.image.tag | string | `"v1.0.9"` | Image tag. |
| seedClient.initContainer.image.digest | string | `""` | Image digest. |
| seedClient.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| seedClient.initContainer.image.registry | string | `"docker.io"` | Image registry. |

View File

@ -43,8 +43,6 @@ data:
{{ toYaml .Values.client.config.metrics | indent 6 }}
stats:
{{ toYaml .Values.client.config.stats | indent 6 }}
{{- if .Values.client.config.tracing }}
tracing:
{{ toYaml .Values.client.config.tracing | indent 6 }}
{{- end }}
{{- end }}

View File

@ -22,13 +22,11 @@ spec:
matchLabels:
app: {{ template "dragonfly.fullname" . }}
component: "{{ .Values.client.name }}"
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "dragonfly.fullname" . }}
component: "{{ .Values.client.name }}"
release: {{ .Release.Name }}
{{- if .Values.client.podLabels }}
{{ toYaml .Values.client.podLabels | indent 8 }}
{{- end }}

View File

@ -27,5 +27,4 @@ spec:
selector:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.client.name }}
release: {{ .Release.Name }}
{{- end }}

View File

@ -27,6 +27,5 @@ spec:
selector:
matchLabels:
app: {{ template "dragonfly.name" . }}
release: {{ .Release.Name }}
component: {{ .Values.client.name }}-metrics
{{- end }}

View File

@ -22,13 +22,11 @@ spec:
matchLabels:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.manager.name }}
release: {{ .Release.Name }}
template:
metadata:
labels:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.manager.name }}
release: {{ .Release.Name }}
{{- if .Values.manager.podLabels }}
{{ toYaml .Values.manager.podLabels | indent 8 }}
{{- end }}

View File

@ -34,6 +34,5 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.manager.name }}
{{- end }}

View File

@ -26,6 +26,5 @@ spec:
targetPort: 8000
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.manager.name }}
{{- end }}

View File

@ -27,6 +27,5 @@ spec:
selector:
matchLabels:
app: {{ template "dragonfly.name" . }}
release: {{ .Release.Name }}
component: {{ .Values.manager.name }}-metrics
{{- end }}

View File

@ -27,5 +27,4 @@ spec:
selector:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.scheduler.name }}
release: {{ .Release.Name }}
{{- end }}

View File

@ -22,14 +22,12 @@ spec:
selector:
matchLabels:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.scheduler.name }}
serviceName: scheduler
template:
metadata:
labels:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.scheduler.name }}
{{- if .Values.scheduler.podLabels }}
{{ toYaml .Values.scheduler.podLabels | indent 8 }}

View File

@ -29,6 +29,5 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.scheduler.name }}
{{- end }}

View File

@ -27,6 +27,5 @@ spec:
selector:
matchLabels:
app: {{ template "dragonfly.name" . }}
release: {{ .Release.Name }}
component: {{ .Values.scheduler.name }}-metrics
{{- end }}

View File

@ -27,5 +27,4 @@ spec:
selector:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.seedClient.name }}
release: {{ .Release.Name }}
{{- end }}

View File

@ -45,8 +45,6 @@ data:
{{ toYaml .Values.seedClient.config.metrics | indent 6 }}
stats:
{{ toYaml .Values.seedClient.config.stats | indent 6 }}
{{- if .Values.client.config.tracing }}
tracing:
{{ toYaml .Values.client.config.tracing | indent 6 }}
{{- end }}
{{ toYaml .Values.seedClient.config.tracing | indent 6 }}
{{- end }}

View File

@ -23,14 +23,12 @@ spec:
matchLabels:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.seedClient.name }}
release: {{ .Release.Name }}
serviceName: seed-client
template:
metadata:
labels:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.seedClient.name }}
release: {{ .Release.Name }}
{{- if .Values.seedClient.podLabels }}
{{ toYaml .Values.seedClient.podLabels | indent 8 }}
{{- end }}

View File

@ -39,6 +39,5 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.seedClient.name }}
{{- end }}

View File

@ -27,6 +27,5 @@ spec:
selector:
matchLabels:
app: {{ template "dragonfly.name" . }}
release: {{ .Release.Name }}
component: {{ .Values.seedClient.name }}-metrics
{{- end }}

View File

@ -39,7 +39,7 @@ manager:
# -- Image repository.
repository: dragonflyoss/manager
# -- Image tag.
tag: v2.3.0
tag: v2.3.1-rc.2
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -222,16 +222,17 @@ manager:
console: true
# -- Listen port for pprof, default is -1 (meaning disabled).
pprofPort: -1
# # tracing is the tracing configuration for dfdaemon.
# tracing:
# # Protocol specifies the communication protocol for the tracing server.
# # Supported values: "http", "https", "grpc" (default: None).
# # This determines how tracing logs are transmitted to the server.
# protocol: grpc
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: localhost:4317
# # headers is the grpc's headers to send with tracing log.
# headers: {}
tracing:
# -- Protocol specifies the communication protocol for the tracing server.
# Supported values: "http", "https", "grpc" (default: None).
# This determines how tracing logs are transmitted to the server.
protocol: "grpc"
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: ""
# # path is the path to report tracing log, example: "/v1/traces" if the protocol is "http" or "https".
# path: ""
# # headers is the grpc's headers to send with tracing log.
# headers: {}
metrics:
# -- Enable manager metrics.
enable: true
@ -321,7 +322,7 @@ scheduler:
# -- Image repository.
repository: dragonflyoss/scheduler
# -- Image tag.
tag: v2.3.0
tag: v2.3.1-rc.2
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -503,16 +504,17 @@ scheduler:
console: true
# -- Listen port for pprof, default is -1 (meaning disabled).
pprofPort: -1
# # tracing is the tracing configuration for dfdaemon.
# tracing:
# # Protocol specifies the communication protocol for the tracing server.
# # Supported values: "http", "https", "grpc" (default: None).
# # This determines how tracing logs are transmitted to the server.
# protocol: grpc
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: localhost:4317
# # headers is the grpc's headers to send with tracing log.
# headers: {}
tracing:
# -- Protocol specifies the communication protocol for the tracing server.
# Supported values: "http", "https", "grpc" (default: None).
# This determines how tracing logs are transmitted to the server.
protocol: ""
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: ""
# # path is the path to report tracing log, example: "/v1/traces" if the protocol is "http" or "https".
# path: ""
# # headers is the grpc's headers to send with tracing log.
# headers: {}
metrics:
# -- Enable scheduler metrics.
enable: true
@ -700,7 +702,7 @@ seedClient:
# -- Image repository.
repository: dragonflyoss/client
# -- Image tag.
tag: v1.0.1
tag: v1.0.9
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1044,16 +1046,17 @@ seedClient:
port: 4004
# # ip is the listen ip of the stats server.
# ip: ""
# # tracing is the tracing configuration for dfdaemon.
# tracing:
# # Protocol specifies the communication protocol for the tracing server.
# # Supported values: "http", "https", "grpc" (default: None).
# # This determines how tracing logs are transmitted to the server.
# protocol: grpc
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: localhost:4317
# # headers is the grpc's headers to send with tracing log.
# headers: {}
tracing:
# -- Protocol specifies the communication protocol for the tracing server.
# Supported values: "http", "https", "grpc" (default: None).
# This determines how tracing logs are transmitted to the server.
protocol: ""
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: ""
# # path is the path to report tracing log, example: "/v1/traces" if the protocol is "http" or "https".
# path: ""
# # headers is the grpc's headers to send with tracing log.
# headers: {}
metrics:
# -- Enable seed client metrics.
enable: true
@ -1125,7 +1128,7 @@ client:
# -- Image repository.
repository: dragonflyoss/client
# -- Image tag.
tag: v1.0.1
tag: v1.0.9
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1212,7 +1215,7 @@ client:
# -- Image repository.
repository: dragonflyoss/dfinit
# -- Image tag.
tag: v1.0.1
tag: v1.0.9
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1534,16 +1537,17 @@ client:
port: 4004
# # ip is the listen ip of the stats server.
# ip: ""
# # tracing is the tracing configuration for dfdaemon.
# tracing:
# # Protocol specifies the communication protocol for the tracing server.
# # Supported values: "http", "https", "grpc" (default: None).
# # This determines how tracing logs are transmitted to the server.
# protocol: grpc
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: localhost:4317
# # headers is the grpc's headers to send with tracing log.
# headers: {}
tracing:
# -- Protocol specifies the communication protocol for the tracing server.
# Supported values: "http", "https", "grpc" (default: None).
# This determines how tracing logs are transmitted to the server.
protocol: ""
# # endpoint is the endpoint to report tracing log, example: "localhost:4317".
# endpoint: ""
# # path is the path to report tracing log, example: "/v1/traces" if the protocol is "http" or "https".
# path: ""
# # headers is the grpc's headers to send with tracing log.
# headers: {}
metrics:
# -- Enable client metrics.
enable: true