Compare commits

..

No commits in common. "main" and "dragonfly-1.4.2" have entirely different histories.

21 changed files with 83 additions and 69 deletions

View File

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

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.4
appVersion: 2.3.1-rc.2
version: 1.4.2
appVersion: 2.3.0
keywords:
- dragonfly
- d7y
@ -27,8 +27,7 @@ sources:
annotations:
artifacthub.io/changes: |
- Bump Dragonfly to v2.3.1-rc.2.
- Bump Client to v1.0.9.
- Update default plugin directory to /usr/local/lib/dragonfly/plugins/ on Linux
artifacthub.io/links: |
- name: Chart Source
@ -39,15 +38,15 @@ annotations:
url: https://github.com/dragonflyoss/client
artifacthub.io/images: |
- name: manager
image: dragonflyoss/manager:v2.3.1-rc.2
image: dragonflyoss/manager:v2.3.0
- name: scheduler
image: dragonflyoss/scheduler:v2.3.1-rc.2
image: dragonflyoss/scheduler:v2.3.0
- name: client
image: dragonflyoss/client:v1.0.9
image: dragonflyoss/client:v1.0.1
- name: seed-client
image: dragonflyoss/client:v1.0.9
image: dragonflyoss/client:v1.0.1
- name: dfinit
image: dragonflyoss/dfinit:v1.0.9
image: dragonflyoss/dfinit:v1.0.1
dependencies:
- name: mysql

View File

@ -164,7 +164,6 @@ 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. |
@ -179,7 +178,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.9"` | Image tag. |
| client.dfinit.image.tag | string | `"v1.0.1"` | 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. |
@ -194,7 +193,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.9"` | Image tag. |
| client.image.tag | string | `"v1.0.1"` | 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. |
@ -278,7 +277,6 @@ 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. |
@ -292,7 +290,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.1-rc.2"` | Image tag. |
| manager.image.tag | string | `"v2.3.0"` | 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. |
@ -380,7 +378,6 @@ 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. |
@ -393,7 +390,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.1-rc.2"` | Image tag. |
| scheduler.image.tag | string | `"v2.3.0"` | 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. |
@ -468,7 +465,6 @@ 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. |
@ -483,7 +479,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.9"` | Image tag. |
| seedClient.image.tag | string | `"v1.0.1"` | 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,6 +43,8 @@ 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,11 +22,13 @@ 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,4 +27,5 @@ spec:
selector:
app: {{ template "dragonfly.fullname" . }}
component: {{ .Values.client.name }}
release: {{ .Release.Name }}
{{- end }}

View File

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

View File

@ -22,11 +22,13 @@ 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,5 +34,6 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.manager.name }}
{{- end }}

View File

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

View File

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

View File

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

View File

@ -22,12 +22,14 @@ 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,5 +29,6 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.scheduler.name }}
{{- end }}

View File

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

View File

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

View File

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

View File

@ -23,12 +23,14 @@ 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,5 +39,6 @@ spec:
{{- end }}
selector:
app: {{ template "dragonfly.fullname" . }}
release: {{ .Release.Name }}
component: {{ .Values.seedClient.name }}
{{- end }}

View File

@ -27,5 +27,6 @@ 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.1-rc.2
tag: v2.3.0
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -222,17 +222,16 @@ manager:
console: true
# -- Listen port for pprof, default is -1 (meaning disabled).
pprofPort: -1
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: {}
# # 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: {}
metrics:
# -- Enable manager metrics.
enable: true
@ -322,7 +321,7 @@ scheduler:
# -- Image repository.
repository: dragonflyoss/scheduler
# -- Image tag.
tag: v2.3.1-rc.2
tag: v2.3.0
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -504,17 +503,16 @@ scheduler:
console: true
# -- Listen port for pprof, default is -1 (meaning disabled).
pprofPort: -1
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: {}
# # 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: {}
metrics:
# -- Enable scheduler metrics.
enable: true
@ -702,7 +700,7 @@ seedClient:
# -- Image repository.
repository: dragonflyoss/client
# -- Image tag.
tag: v1.0.9
tag: v1.0.1
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1046,17 +1044,16 @@ seedClient:
port: 4004
# # ip is the listen ip of the stats server.
# ip: ""
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: {}
# # 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: {}
metrics:
# -- Enable seed client metrics.
enable: true
@ -1128,7 +1125,7 @@ client:
# -- Image repository.
repository: dragonflyoss/client
# -- Image tag.
tag: v1.0.9
tag: v1.0.1
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1215,7 +1212,7 @@ client:
# -- Image repository.
repository: dragonflyoss/dfinit
# -- Image tag.
tag: v1.0.9
tag: v1.0.1
# -- Image digest.
digest: ""
# -- Image pull policy.
@ -1537,17 +1534,16 @@ client:
port: 4004
# # ip is the listen ip of the stats server.
# ip: ""
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: {}
# # 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: {}
metrics:
# -- Enable client metrics.
enable: true