Skip to content

Commit f36a6f9

Browse files
authored
feat: add path for tracing configurations (#397)
* feat: add path for tracing configurations Signed-off-by: Gaius <[email protected]> * feat: bump manager and scheduler to v2.2.4-rc.2 Signed-off-by: Gaius <[email protected]> --------- Signed-off-by: Gaius <[email protected]>
1 parent 7799a87 commit f36a6f9

20 files changed

+69
-82
lines changed

charts/dragonfly/Chart.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: dragonfly
33
description: Dragonfly is an intelligent P2P based image and file distribution system
44
icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
55
type: application
6-
version: 1.4.2
7-
appVersion: 2.3.0
6+
version: 1.4.3
7+
appVersion: 2.3.1-beta.0
88
keywords:
99
- dragonfly
1010
- d7y
@@ -27,7 +27,9 @@ sources:
2727

2828
annotations:
2929
artifacthub.io/changes: |
30-
- Update default plugin directory to /usr/local/lib/dragonfly/plugins/ on Linux
30+
- Add path for tracing configurations.
31+
- Bump Dragonfly to v2.3.1-beta.0.
32+
- Bump Client to v1.0.2.
3133
3234
artifacthub.io/links: |
3335
- name: Chart Source
@@ -38,15 +40,15 @@ annotations:
3840
url: https://github.com/dragonflyoss/client
3941
artifacthub.io/images: |
4042
- name: manager
41-
image: dragonflyoss/manager:v2.3.0
43+
image: dragonflyoss/manager:v2.3.1-beta.0
4244
- name: scheduler
43-
image: dragonflyoss/scheduler:v2.3.0
45+
image: dragonflyoss/scheduler:v2.3.1-beta.0
4446
- name: client
45-
image: dragonflyoss/client:v1.0.1
47+
image: dragonflyoss/client:v1.0.2
4648
- name: seed-client
47-
image: dragonflyoss/client:v1.0.1
49+
image: dragonflyoss/client:v1.0.2
4850
- name: dfinit
49-
image: dragonflyoss/dfinit:v1.0.1
51+
image: dragonflyoss/dfinit:v1.0.2
5052
5153
dependencies:
5254
- name: mysql

charts/dragonfly/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ helm delete dragonfly --namespace dragonfly-system
164164
| client.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
165165
| client.config.storage.writeBufferSize | int | `4194304` | writeBufferSize is the buffer size for writing piece to disk, default is 4MiB. |
166166
| client.config.storage.writePieceTimeout | string | `"30s"` | writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache). |
167+
| 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. |
167168
| client.config.upload.disableShared | bool | `false` | disableShared indicates whether disable to share data with other peers. |
168169
| 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. |
169170
| 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
178179
| client.dfinit.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
179180
| client.dfinit.image.registry | string | `"docker.io"` | Image registry. |
180181
| client.dfinit.image.repository | string | `"dragonflyoss/dfinit"` | Image repository. |
181-
| client.dfinit.image.tag | string | `"v1.0.1"` | Image tag. |
182+
| client.dfinit.image.tag | string | `"v1.0.2"` | Image tag. |
182183
| 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. |
183184
| client.enable | bool | `true` | Enable client. |
184185
| 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
193194
| client.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
194195
| client.image.registry | string | `"docker.io"` | Image registry. |
195196
| client.image.repository | string | `"dragonflyoss/client"` | Image repository. |
196-
| client.image.tag | string | `"v1.0.1"` | Image tag. |
197+
| client.image.tag | string | `"v1.0.2"` | Image tag. |
197198
| client.initContainer.image.digest | string | `""` | Image digest. |
198199
| client.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
199200
| client.initContainer.image.registry | string | `"docker.io"` | Image registry. |
@@ -277,6 +278,7 @@ helm delete dragonfly --namespace dragonfly-system
277278
| manager.config.server.rest.tls.cert | string | `""` | Certificate file path. |
278279
| manager.config.server.rest.tls.key | string | `""` | Key file path. |
279280
| manager.config.server.workHome | string | `""` | Work directory. |
281+
| 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. |
280282
| manager.deploymentAnnotations | object | `{}` | Deployment annotations. |
281283
| manager.enable | bool | `true` | Enable manager. |
282284
| manager.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/manager","name":"logs"}]` | Extra volumeMounts for manager. |
@@ -290,7 +292,7 @@ helm delete dragonfly --namespace dragonfly-system
290292
| manager.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
291293
| manager.image.registry | string | `"docker.io"` | Image registry. |
292294
| manager.image.repository | string | `"dragonflyoss/manager"` | Image repository. |
293-
| manager.image.tag | string | `"v2.3.0"` | Image tag. |
295+
| manager.image.tag | string | `"v2.3.1-beta.0"` | Image tag. |
294296
| manager.ingress.annotations | object | `{}` | Ingress annotations. |
295297
| manager.ingress.className | string | `""` | Ingress class name. Requirement: kubernetes >=1.18. |
296298
| manager.ingress.enable | bool | `false` | Enable ingress. |
@@ -378,6 +380,7 @@ helm delete dragonfly --namespace dragonfly-system
378380
| scheduler.config.server.pluginDir | string | `""` | Plugin directory. |
379381
| scheduler.config.server.port | int | `8002` | Server port. |
380382
| scheduler.config.server.workHome | string | `""` | Work directory. |
383+
| 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. |
381384
| scheduler.containerPort | int | `8002` | Pod containerPort. |
382385
| scheduler.enable | bool | `true` | Enable scheduler. |
383386
| scheduler.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/scheduler","name":"logs"}]` | Extra volumeMounts for scheduler. |
@@ -390,7 +393,7 @@ helm delete dragonfly --namespace dragonfly-system
390393
| scheduler.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
391394
| scheduler.image.registry | string | `"docker.io"` | Image registry. |
392395
| scheduler.image.repository | string | `"dragonflyoss/scheduler"` | Image repository. |
393-
| scheduler.image.tag | string | `"v2.3.0"` | Image tag. |
396+
| scheduler.image.tag | string | `"v2.3.1-beta.0"` | Image tag. |
394397
| scheduler.initContainer.image.digest | string | `""` | Image digest. |
395398
| scheduler.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
396399
| scheduler.initContainer.image.registry | string | `"docker.io"` | Image registry. |
@@ -465,6 +468,7 @@ helm delete dragonfly --namespace dragonfly-system
465468
| seedClient.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
466469
| seedClient.config.storage.writeBufferSize | int | `4194304` | writeBufferSize is the buffer size for writing piece to disk, default is 4MiB. |
467470
| seedClient.config.storage.writePieceTimeout | string | `"30s"` | writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache). |
471+
| 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. |
468472
| 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. |
469473
| seedClient.config.upload.server.port | int | `4000` | port is the port to the grpc server. |
470474
| 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
479483
| seedClient.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
480484
| seedClient.image.registry | string | `"docker.io"` | Image registry. |
481485
| seedClient.image.repository | string | `"dragonflyoss/client"` | Image repository. |
482-
| seedClient.image.tag | string | `"v1.0.1"` | Image tag. |
486+
| seedClient.image.tag | string | `"v1.0.2"` | Image tag. |
483487
| seedClient.initContainer.image.digest | string | `""` | Image digest. |
484488
| seedClient.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
485489
| seedClient.initContainer.image.registry | string | `"docker.io"` | Image registry. |

charts/dragonfly/templates/client/client-configmap.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ data:
4343
{{ toYaml .Values.client.config.metrics | indent 6 }}
4444
stats:
4545
{{ toYaml .Values.client.config.stats | indent 6 }}
46-
{{- if .Values.client.config.tracing }}
4746
tracing:
4847
{{ toYaml .Values.client.config.tracing | indent 6 }}
49-
{{- end }}
5048
{{- end }}

charts/dragonfly/templates/client/client-daemonset.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ spec:
2222
matchLabels:
2323
app: {{ template "dragonfly.fullname" . }}
2424
component: "{{ .Values.client.name }}"
25-
release: {{ .Release.Name }}
2625
template:
2726
metadata:
2827
labels:
2928
app: {{ template "dragonfly.fullname" . }}
3029
component: "{{ .Values.client.name }}"
31-
release: {{ .Release.Name }}
3230
{{- if .Values.client.podLabels }}
3331
{{ toYaml .Values.client.podLabels | indent 8 }}
3432
{{- end }}

charts/dragonfly/templates/client/metrics-svc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ spec:
2727
selector:
2828
app: {{ template "dragonfly.fullname" . }}
2929
component: {{ .Values.client.name }}
30-
release: {{ .Release.Name }}
3130
{{- end }}

charts/dragonfly/templates/client/servicemonitor.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ spec:
2727
selector:
2828
matchLabels:
2929
app: {{ template "dragonfly.name" . }}
30-
release: {{ .Release.Name }}
3130
component: {{ .Values.client.name }}-metrics
3231
{{- end }}

charts/dragonfly/templates/manager/manager-deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ spec:
2222
matchLabels:
2323
app: {{ template "dragonfly.fullname" . }}
2424
component: {{ .Values.manager.name }}
25-
release: {{ .Release.Name }}
2625
template:
2726
metadata:
2827
labels:
2928
app: {{ template "dragonfly.fullname" . }}
3029
component: {{ .Values.manager.name }}
31-
release: {{ .Release.Name }}
3230
{{- if .Values.manager.podLabels }}
3331
{{ toYaml .Values.manager.podLabels | indent 8 }}
3432
{{- end }}

charts/dragonfly/templates/manager/manager-svc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@ spec:
3434
{{- end }}
3535
selector:
3636
app: {{ template "dragonfly.fullname" . }}
37-
release: {{ .Release.Name }}
3837
component: {{ .Values.manager.name }}
3938
{{- end }}

charts/dragonfly/templates/manager/metrics-svc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ spec:
2626
targetPort: 8000
2727
selector:
2828
app: {{ template "dragonfly.fullname" . }}
29-
release: {{ .Release.Name }}
3029
component: {{ .Values.manager.name }}
3130
{{- end }}

charts/dragonfly/templates/manager/servicemonitor.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ spec:
2727
selector:
2828
matchLabels:
2929
app: {{ template "dragonfly.name" . }}
30-
release: {{ .Release.Name }}
3130
component: {{ .Values.manager.name }}-metrics
3231
{{- end }}

0 commit comments

Comments
 (0)