Compare commits
No commits in common. "main" and "dragonfly-1.3.19" have entirely different histories.
main
...
dragonfly-
|
@ -1,17 +0,0 @@
|
||||||
# Set to true to add reviewers to pull requests
|
|
||||||
addReviewers: true
|
|
||||||
|
|
||||||
# Set to true to add assignees to pull requests
|
|
||||||
addAssignees: author
|
|
||||||
|
|
||||||
# A list of reviewers to be added to pull requests (GitHub user name)
|
|
||||||
reviewers:
|
|
||||||
- gaius-qi
|
|
||||||
- yxxhero
|
|
||||||
- chlins
|
|
||||||
- CormickKneey
|
|
||||||
- imeoer
|
|
||||||
- BraveY
|
|
||||||
|
|
||||||
# A number of reviewers added to the pull request
|
|
||||||
numberOfReviewers: 3
|
|
|
@ -1,11 +0,0 @@
|
||||||
name: "Auto Assign"
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
types: [opened, reopened, ready_for_review]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
add-assignee:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: kentaro-m/auto-assign-action@9f6dbe84a80c6e7639d1b9698048b201052a2a94
|
|
|
@ -1,20 +0,0 @@
|
||||||
name: PR Label
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, labeled, unlabeled, synchronize]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
classify:
|
|
||||||
name: Classify PR
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: PR impact specified
|
|
||||||
uses: mheap/github-action-required-labels@8afbe8ae6ab7647d0c9f0cfa7c2f939650d22509 # v5.5
|
|
||||||
with:
|
|
||||||
mode: exactly
|
|
||||||
count: 1
|
|
||||||
labels: 'bug, enhancement, documentation, dependencies'
|
|
|
@ -1,31 +0,0 @@
|
||||||
name: Close stale issues and PRs
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 0 * * *"
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
issues: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
stale:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
|
||||||
id: stale
|
|
||||||
with:
|
|
||||||
delete-branch: true
|
|
||||||
days-before-close: 7
|
|
||||||
days-before-stale: 90
|
|
||||||
days-before-pr-close: 7
|
|
||||||
days-before-pr-stale: 120
|
|
||||||
stale-issue-label: "stale"
|
|
||||||
exempt-issue-labels: bug,wip,on-hold
|
|
||||||
exempt-pr-labels: bug,wip,on-hold
|
|
||||||
exempt-all-milestones: true
|
|
||||||
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity.'
|
|
||||||
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
|
|
||||||
stale-pr-message: 'This PR is stale because it has been open 120 days with no activity.'
|
|
||||||
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
|
|
|
@ -31,9 +31,9 @@ Please refer to the [document][install] to install Dragonfly & Nydus on Kubernet
|
||||||
Join the conversation and help the community.
|
Join the conversation and help the community.
|
||||||
|
|
||||||
- **Slack Channel**: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
|
- **Slack Channel**: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
|
||||||
- **Github Discussions**: [Dragonfly Discussion Forum](https://github.com/dragonflyoss/dragonfly/discussions)
|
- **Discussion Group**: <dragonfly-discuss@googlegroups.com>
|
||||||
- **Developer Group**: <dragonfly-developers@googlegroups.com>
|
- **Developer Group**: <dragonfly-developers@googlegroups.com>
|
||||||
- **Maintainer Group**: <dragonfly-maintainers@googlegroups.com>
|
- **Github Discussions**: [Dragonfly Discussion Forum][discussion]
|
||||||
- **Twitter**: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
|
- **Twitter**: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
|
||||||
- **DingTalk**: [22880028764](https://qr.dingtalk.com/action/joingroup?code=v1,k1,pkV9IbsSyDusFQdByPSK3HfCG61ZCLeb8b/lpQ3uUqI=&_dt_no_comment=1&origin=11)
|
- **DingTalk**: [22880028764](https://qr.dingtalk.com/action/joingroup?code=v1,k1,pkV9IbsSyDusFQdByPSK3HfCG61ZCLeb8b/lpQ3uUqI=&_dt_no_comment=1&origin=11)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ name: dragonfly
|
||||||
description: Dragonfly is an intelligent P2P based image and file distribution system
|
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
|
icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
|
||||||
type: application
|
type: application
|
||||||
version: 1.4.4
|
version: 1.3.19
|
||||||
appVersion: 2.3.1-rc.2
|
appVersion: 2.2.2-rc.0
|
||||||
keywords:
|
keywords:
|
||||||
- dragonfly
|
- dragonfly
|
||||||
- d7y
|
- d7y
|
||||||
|
@ -27,8 +27,7 @@ sources:
|
||||||
|
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- Bump Dragonfly to v2.3.1-rc.2.
|
- Update manager and scheduler version to v2.2.2-rc.0.
|
||||||
- Bump Client to v1.0.9.
|
|
||||||
|
|
||||||
artifacthub.io/links: |
|
artifacthub.io/links: |
|
||||||
- name: Chart Source
|
- name: Chart Source
|
||||||
|
@ -39,15 +38,15 @@ annotations:
|
||||||
url: https://github.com/dragonflyoss/client
|
url: https://github.com/dragonflyoss/client
|
||||||
artifacthub.io/images: |
|
artifacthub.io/images: |
|
||||||
- name: manager
|
- name: manager
|
||||||
image: dragonflyoss/manager:v2.3.1-rc.2
|
image: dragonflyoss/manager:v2.2.2-rc.0
|
||||||
- name: scheduler
|
- name: scheduler
|
||||||
image: dragonflyoss/scheduler:v2.3.1-rc.2
|
image: dragonflyoss/scheduler:v2.2.2-rc.0
|
||||||
- name: client
|
- name: client
|
||||||
image: dragonflyoss/client:v1.0.9
|
image: dragonflyoss/client:v0.2.23
|
||||||
- name: seed-client
|
- name: seed-client
|
||||||
image: dragonflyoss/client:v1.0.9
|
image: dragonflyoss/client:v0.2.23
|
||||||
- name: dfinit
|
- name: dfinit
|
||||||
image: dragonflyoss/dfinit:v1.0.9
|
image: dragonflyoss/dfinit:v0.2.23
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
|
|
|
@ -128,10 +128,8 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| client.config.console | bool | `true` | console prints log. |
|
| client.config.download.concurrentPieceCount | int | `16` | concurrentPieceCount is the number of concurrent pieces to download. |
|
||||||
| client.config.download.collectedPieceTimeout | string | `"10s"` | collected_piece_timeout is the timeout for collecting one piece from the parent in the stream. |
|
| client.config.download.pieceTimeout | string | `"30s"` | pieceTimeout is the timeout for downloading a piece from source. |
|
||||||
| client.config.download.concurrentPieceCount | int | `8` | concurrentPieceCount is the number of concurrent pieces to download. |
|
|
||||||
| client.config.download.pieceTimeout | string | `"40s"` | pieceTimeout is the timeout for downloading a piece from source. |
|
|
||||||
| client.config.download.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s. |
|
| client.config.download.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s. |
|
||||||
| client.config.download.server.requestRateLimit | int | `4000` | request_rate_limit is the rate limit of the download request in the download grpc server, default is 4000 req/s. |
|
| client.config.download.server.requestRateLimit | int | `4000` | request_rate_limit is the rate limit of the download request in the download grpc server, default is 4000 req/s. |
|
||||||
| client.config.download.server.socketPath | string | `"/var/run/dragonfly/dfdaemon.sock"` | socketPath is the unix socket path for dfdaemon GRPC service. |
|
| client.config.download.server.socketPath | string | `"/var/run/dragonfly/dfdaemon.sock"` | socketPath is the unix socket path for dfdaemon GRPC service. |
|
||||||
|
@ -139,7 +137,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| client.config.gc.interval | string | `"900s"` | interval is the interval to do gc. |
|
| client.config.gc.interval | string | `"900s"` | interval is the interval to do gc. |
|
||||||
| client.config.gc.policy.distHighThresholdPercent | int | `80` | distHighThresholdPercent is the high threshold percent of the disk usage. If the disk usage is greater than the threshold, dfdaemon will do gc. |
|
| client.config.gc.policy.distHighThresholdPercent | int | `80` | distHighThresholdPercent is the high threshold percent of the disk usage. If the disk usage is greater than the threshold, dfdaemon will do gc. |
|
||||||
| client.config.gc.policy.distLowThresholdPercent | int | `60` | distLowThresholdPercent is the low threshold percent of the disk usage. If the disk usage is less than the threshold, dfdaemon will stop gc. |
|
| client.config.gc.policy.distLowThresholdPercent | int | `60` | distLowThresholdPercent is the low threshold percent of the disk usage. If the disk usage is less than the threshold, dfdaemon will stop gc. |
|
||||||
| client.config.gc.policy.taskTTL | string | `"720h"` | taskTTL is the ttl of the task. |
|
| client.config.gc.policy.taskTTL | string | `"168h"` | taskTTL is the ttl of the task. |
|
||||||
| client.config.health.server.port | int | `4003` | port is the port to the health server. |
|
| client.config.health.server.port | int | `4003` | port is the port to the health server. |
|
||||||
| client.config.host | object | `{"idc":"","location":""}` | host is the host configuration for dfdaemon. |
|
| client.config.host | object | `{"idc":"","location":""}` | host is the host configuration for dfdaemon. |
|
||||||
| client.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
| client.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
||||||
|
@ -155,32 +153,30 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| client.config.scheduler.announceInterval | string | `"5m"` | announceInterval is the interval to announce peer to the scheduler. Announcer will provide the scheduler with peer information for scheduling, peer information includes cpu, memory, etc. |
|
| client.config.scheduler.announceInterval | string | `"5m"` | announceInterval is the interval to announce peer to the scheduler. Announcer will provide the scheduler with peer information for scheduling, peer information includes cpu, memory, etc. |
|
||||||
| client.config.scheduler.enableBackToSource | bool | `true` | enableBackToSource indicates whether enable back-to-source download, when the scheduling failed. |
|
| client.config.scheduler.enableBackToSource | bool | `true` | enableBackToSource indicates whether enable back-to-source download, when the scheduling failed. |
|
||||||
| client.config.scheduler.maxScheduleCount | int | `5` | maxScheduleCount is the max count of schedule. |
|
| client.config.scheduler.maxScheduleCount | int | `5` | maxScheduleCount is the max count of schedule. |
|
||||||
| client.config.scheduler.scheduleTimeout | string | `"3h"` | scheduleTimeout is timeout for the scheduler to respond to a scheduling request from dfdaemon, default is 3 hours. If the scheduler's response time for a scheduling decision exceeds this timeout, dfdaemon will encounter a `TokioStreamElapsed(Elapsed(()))` error. Behavior upon timeout: - If `enable_back_to_source` is `true`, dfdaemon will attempt to download directly from the source. - Otherwise (if `enable_back_to_source` is `false`), dfdaemon will report a download failure. **Important Considerations Regarding Timeout Triggers**: This timeout isn't solely for the scheduler's direct response. It can also be triggered if the overall duration of the client's interaction with the scheduler for a task (e.g., client downloading initial pieces and reporting their status back to the scheduler) exceeds `schedule_timeout`. During such client-side processing and reporting, the scheduler might be awaiting these updates before sending its comprehensive scheduling response, and this entire period is subject to the `schedule_timeout`. **Configuration Guidance**: To prevent premature timeouts, `schedule_timeout` should be configured to a value greater than the maximum expected time for the *entire scheduling interaction*. This includes: 1. The scheduler's own processing and response time. 2. The time taken by the client to download any initial pieces and download all pieces finished, as this communication is part of the scheduling phase. Setting this value too low can lead to `TokioStreamElapsed` errors even if the network and scheduler are functioning correctly but the combined interaction time is longer than the configured timeout. |
|
| client.config.scheduler.scheduleTimeout | string | `"30s"` | scheduleTimeout is the timeout for scheduling. If the scheduling timesout, dfdaemon will back-to-source download if enableBackToSource is true, otherwise dfdaemon will return download failed. |
|
||||||
| client.config.server.cacheDir | string | `"/var/cache/dragonfly/dfdaemon/"` | cacheDir is the directory to store cache files. |
|
| client.config.server.cacheDir | string | `"/var/cache/dragonfly/dfdaemon/"` | cacheDir is the directory to store cache files. |
|
||||||
| client.config.server.pluginDir | string | `"/usr/local/lib/dragonfly/plugins/dfdaemon/"` | pluginDir is the directory to store plugins. |
|
| client.config.server.pluginDir | string | `"/var/lib/dragonfly/plugins/dfdaemon/"` | pluginDir is the directory to store plugins. |
|
||||||
| client.config.stats.server.port | int | `4004` | port is the port to the stats server. |
|
| client.config.stats.server.port | int | `4004` | port is the port to the stats server. |
|
||||||
| client.config.storage.dir | string | `"/var/lib/dragonfly/"` | dir is the directory to store task's metadata and content. |
|
| client.config.storage.dir | string | `"/var/lib/dragonfly/"` | dir is the directory to store task's metadata and content. |
|
||||||
| client.config.storage.keep | bool | `true` | keep indicates whether keep the task's metadata and content when the dfdaemon restarts. |
|
| client.config.storage.keep | bool | `true` | keep indicates whether keep the task's metadata and content when the dfdaemon restarts. |
|
||||||
| client.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
|
| 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.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.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.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. |
|
| client.config.upload.server.port | int | `4000` | port is the port to the grpc server. |
|
||||||
| client.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. |
|
| client.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. |
|
||||||
| client.dfinit.config.console | bool | `true` | console prints log. |
|
| client.config.verbose | bool | `true` | verbose prints log. |
|
||||||
| client.dfinit.config.containerRuntime.containerd.configPath | string | `"/etc/containerd/config.toml"` | configPath is the path of containerd configuration file. |
|
| client.dfinit.config.containerRuntime.containerd.configPath | string | `"/etc/containerd/config.toml"` | configPath is the path of containerd configuration file. |
|
||||||
| client.dfinit.config.containerRuntime.containerd.registries | list | `[{"capabilities":["pull","resolve"],"hostNamespace":"docker.io","serverAddr":"https://index.docker.io","skipVerify":true},{"capabilities":["pull","resolve"],"hostNamespace":"ghcr.io","serverAddr":"https://ghcr.io","skipVerify":true}]` | registries is the list of containerd registries. hostNamespace is the location where container images and artifacts are sourced, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-host-namespace. The registry host namespace portion is [registry_host_name|IP address][:port], such as docker.io, ghcr.io, gcr.io, etc. serverAddr specifies the default server for this registry host namespace, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#server-field. capabilities is the list of capabilities in containerd configuration, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#capabilities-field. skip_verify is the flag to skip verifying the server's certificate, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#bypass-tls-verification-example. ca (Certificate Authority Certification) can be set to a path or an array of paths each pointing to a ca file for use in authenticating with the registry namespace, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#ca-field. |
|
| client.dfinit.config.containerRuntime.containerd.registries | list | `[{"capabilities":["pull","resolve"],"hostNamespace":"docker.io","serverAddr":"https://index.docker.io","skipVerify":true},{"capabilities":["pull","resolve"],"hostNamespace":"ghcr.io","serverAddr":"https://ghcr.io","skipVerify":true}]` | registries is the list of containerd registries. hostNamespace is the location where container images and artifacts are sourced, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-host-namespace. The registry host namespace portion is [registry_host_name|IP address][:port], such as docker.io, ghcr.io, gcr.io, etc. serverAddr specifies the default server for this registry host namespace, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#server-field. capabilities is the list of capabilities in containerd configuration, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#capabilities-field. skip_verify is the flag to skip verifying the server's certificate, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#bypass-tls-verification-example. ca (Certificate Authority Certification) can be set to a path or an array of paths each pointing to a ca file for use in authenticating with the registry namespace, refer to https://github.com/containerd/containerd/blob/main/docs/hosts.md#ca-field. |
|
||||||
| client.dfinit.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
| client.dfinit.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
||||||
| client.dfinit.config.proxy.addr | string | `"http://127.0.0.1:4001"` | addr is the proxy server address of dfdaemon. |
|
| client.dfinit.config.proxy.addr | string | `"http://127.0.0.1:4001"` | addr is the proxy server address of dfdaemon. |
|
||||||
|
| client.dfinit.config.verbose | bool | `true` | verbose prints log. |
|
||||||
| client.dfinit.enable | bool | `false` | Enable dfinit to override configuration of container runtime. |
|
| client.dfinit.enable | bool | `false` | Enable dfinit to override configuration of container runtime. |
|
||||||
| client.dfinit.image.digest | string | `""` | Image digest. |
|
| client.dfinit.image.digest | string | `""` | Image digest. |
|
||||||
| client.dfinit.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
| client.dfinit.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
||||||
| client.dfinit.image.registry | string | `"docker.io"` | Image registry. |
|
| client.dfinit.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
| client.dfinit.image.repository | string | `"dragonflyoss/dfinit"` | Image repository. |
|
| client.dfinit.image.repository | string | `"dragonflyoss/dfinit"` | Image repository. |
|
||||||
| client.dfinit.image.tag | string | `"v1.0.9"` | Image tag. |
|
| client.dfinit.image.tag | string | `"v0.2.23"` | 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.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. |
|
| client.extraVolumeMounts | list | `[{"mountPath":"/var/lib/dragonfly/","name":"storage"},{"mountPath":"/var/log/dragonfly/dfdaemon/","name":"logs"}]` | Extra volumeMounts for dfdaemon. |
|
||||||
| client.extraVolumes | list | `[{"emptyDir":{},"name":"storage"},{"emptyDir":{},"name":"logs"}]` | Extra volumes for dfdaemon. |
|
| client.extraVolumes | list | `[{"emptyDir":{},"name":"storage"},{"emptyDir":{},"name":"logs"}]` | Extra volumes for dfdaemon. |
|
||||||
|
@ -194,7 +190,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| client.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
| client.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
||||||
| client.image.registry | string | `"docker.io"` | Image registry. |
|
| client.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
| client.image.repository | string | `"dragonflyoss/client"` | Image repository. |
|
| client.image.repository | string | `"dragonflyoss/client"` | Image repository. |
|
||||||
| client.image.tag | string | `"v1.0.9"` | Image tag. |
|
| client.image.tag | string | `"v0.2.23"` | Image tag. |
|
||||||
| client.initContainer.image.digest | string | `""` | Image digest. |
|
| client.initContainer.image.digest | string | `""` | Image digest. |
|
||||||
| client.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
| client.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
||||||
| client.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
| client.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
|
@ -223,7 +219,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| client.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
|
| client.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
|
||||||
| client.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
|
| client.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
|
||||||
| client.tolerations | list | `[]` | List of node taints to tolerate. |
|
| client.tolerations | list | `[]` | List of node taints to tolerate. |
|
||||||
| client.updateStrategy | object | `{"rollingUpdate":{"maxSurge":0,"maxUnavailable":20},"type":"RollingUpdate"}` | Update strategy for replicas. |
|
| client.updateStrategy | object | `{}` | Update strategy for replicas. |
|
||||||
| clusterDomain | string | `"cluster.local"` | Install application cluster domain. |
|
| clusterDomain | string | `"cluster.local"` | Install application cluster domain. |
|
||||||
| externalManager.grpcPort | int | `65003` | External GRPC service port. |
|
| externalManager.grpcPort | int | `65003` | External GRPC service port. |
|
||||||
| externalManager.host | string | `nil` | External manager hostname. |
|
| externalManager.host | string | `nil` | External manager hostname. |
|
||||||
|
@ -240,8 +236,6 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| externalRedis.db | int | `0` | External redis db. |
|
| externalRedis.db | int | `0` | External redis db. |
|
||||||
| externalRedis.masterName | string | `""` | External redis sentinel master name. |
|
| externalRedis.masterName | string | `""` | External redis sentinel master name. |
|
||||||
| externalRedis.password | string | `""` | External redis password. |
|
| externalRedis.password | string | `""` | External redis password. |
|
||||||
| externalRedis.sentinelPassword | string | `""` | External redis sentinel password. |
|
|
||||||
| externalRedis.sentinelUsername | string | `""` | External redis sentinel addresses. |
|
|
||||||
| externalRedis.username | string | `""` | External redis username. |
|
| externalRedis.username | string | `""` | External redis username. |
|
||||||
| fullnameOverride | string | `""` | Override dragonfly fullname. |
|
| fullnameOverride | string | `""` | Override dragonfly fullname. |
|
||||||
| global.imagePullSecrets | list | `[]` | Global Docker registry secret names as an array. |
|
| global.imagePullSecrets | list | `[]` | Global Docker registry secret names as an array. |
|
||||||
|
@ -256,6 +250,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| manager.config.cache.local.ttl | string | `"3m"` | Local cache TTL duration. |
|
| manager.config.cache.local.ttl | string | `"3m"` | Local cache TTL duration. |
|
||||||
| manager.config.cache.redis.ttl | string | `"5m"` | Redis cache TTL duration. |
|
| manager.config.cache.redis.ttl | string | `"5m"` | Redis cache TTL duration. |
|
||||||
| manager.config.console | bool | `true` | Console shows log on console. |
|
| manager.config.console | bool | `true` | Console shows log on console. |
|
||||||
|
| manager.config.jaeger | string | `""` | |
|
||||||
| manager.config.job.gc | object | `{"interval":"3h","ttl":"6h"}` | gc configuration. |
|
| manager.config.job.gc | object | `{"interval":"3h","ttl":"6h"}` | gc configuration. |
|
||||||
| manager.config.job.gc.interval | string | `"3h"` | interval is the interval of gc. |
|
| manager.config.job.gc.interval | string | `"3h"` | interval is the interval of gc. |
|
||||||
| manager.config.job.gc.ttl | string | `"6h"` | ttl is the ttl of job. |
|
| manager.config.job.gc.ttl | string | `"6h"` | ttl is the ttl of job. |
|
||||||
|
@ -269,16 +264,16 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| manager.config.job.syncPeers | object | `{"interval":"24h","timeout":"10m"}` | Sync peers configuration. |
|
| manager.config.job.syncPeers | object | `{"interval":"24h","timeout":"10m"}` | Sync peers configuration. |
|
||||||
| manager.config.job.syncPeers.interval | string | `"24h"` | interval is the interval for syncing all peers information from the scheduler and display peers information in the manager console. |
|
| manager.config.job.syncPeers.interval | string | `"24h"` | interval is the interval for syncing all peers information from the scheduler and display peers information in the manager console. |
|
||||||
| manager.config.job.syncPeers.timeout | string | `"10m"` | timeout is the timeout for syncing peers information from the single scheduler. |
|
| manager.config.job.syncPeers.timeout | string | `"10m"` | timeout is the timeout for syncing peers information from the single scheduler. |
|
||||||
| manager.config.pprofPort | int | `-1` | Listen port for pprof, default is -1 (meaning disabled). |
|
| manager.config.network.enableIPv6 | bool | `false` | enableIPv6 enables ipv6. |
|
||||||
|
| manager.config.pprofPort | int | `-1` | Listen port for pprof, only valid when the verbose option is true default is -1. If it is 0, pprof will use a random port. |
|
||||||
| manager.config.server.cacheDir | string | `""` | Dynconfig cache directory. |
|
| manager.config.server.cacheDir | string | `""` | Dynconfig cache directory. |
|
||||||
| manager.config.server.grpc.advertiseIP | string | `""` | GRPC advertise ip. |
|
| manager.config.server.grpc.advertiseIP | string | `""` | GRPC advertise ip. |
|
||||||
| manager.config.server.logDir | string | `""` | Log directory. |
|
| manager.config.server.logDir | string | `""` | Log directory. |
|
||||||
| manager.config.server.logLevel | string | `"info"` | logLevel specifies the logging level for the manager. Default: "info" Supported values: "debug", "info", "warn", "error", "panic", "fatal" |
|
|
||||||
| manager.config.server.pluginDir | string | `""` | Plugin directory. |
|
| manager.config.server.pluginDir | string | `""` | Plugin directory. |
|
||||||
| manager.config.server.rest.tls.cert | string | `""` | Certificate file path. |
|
| manager.config.server.rest.tls.cert | string | `""` | Certificate file path. |
|
||||||
| manager.config.server.rest.tls.key | string | `""` | Key file path. |
|
| manager.config.server.rest.tls.key | string | `""` | Key file path. |
|
||||||
| manager.config.server.workHome | string | `""` | Work directory. |
|
| 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.config.verbose | bool | `false` | Whether to enable debug level logger and enable pprof. |
|
||||||
| manager.deploymentAnnotations | object | `{}` | Deployment annotations. |
|
| manager.deploymentAnnotations | object | `{}` | Deployment annotations. |
|
||||||
| manager.enable | bool | `true` | Enable manager. |
|
| manager.enable | bool | `true` | Enable manager. |
|
||||||
| manager.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/manager","name":"logs"}]` | Extra volumeMounts for manager. |
|
| manager.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/manager","name":"logs"}]` | Extra volumeMounts for manager. |
|
||||||
|
@ -292,7 +287,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| manager.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
| manager.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
||||||
| manager.image.registry | string | `"docker.io"` | Image registry. |
|
| manager.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
| manager.image.repository | string | `"dragonflyoss/manager"` | Image repository. |
|
| manager.image.repository | string | `"dragonflyoss/manager"` | Image repository. |
|
||||||
| manager.image.tag | string | `"v2.3.1-rc.2"` | Image tag. |
|
| manager.image.tag | string | `"v2.2.2-rc.0"` | Image tag. |
|
||||||
| manager.ingress.annotations | object | `{}` | Ingress annotations. |
|
| manager.ingress.annotations | object | `{}` | Ingress annotations. |
|
||||||
| manager.ingress.className | string | `""` | Ingress class name. Requirement: kubernetes >=1.18. |
|
| manager.ingress.className | string | `""` | Ingress class name. Requirement: kubernetes >=1.18. |
|
||||||
| manager.ingress.enable | bool | `false` | Enable ingress. |
|
| manager.ingress.enable | bool | `false` | Enable ingress. |
|
||||||
|
@ -355,19 +350,21 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| scheduler.config.dynconfig.type | string | `"manager"` | Type is deprecated and is no longer used. Please remove it from your configuration. |
|
| scheduler.config.dynconfig.type | string | `"manager"` | Type is deprecated and is no longer used. Please remove it from your configuration. |
|
||||||
| scheduler.config.host.idc | string | `""` | IDC is the idc of scheduler instance. |
|
| scheduler.config.host.idc | string | `""` | IDC is the idc of scheduler instance. |
|
||||||
| scheduler.config.host.location | string | `""` | Location is the location of scheduler instance. |
|
| scheduler.config.host.location | string | `""` | Location is the location of scheduler instance. |
|
||||||
|
| scheduler.config.jaeger | string | `""` | |
|
||||||
| scheduler.config.manager.keepAlive.interval | string | `"5s"` | Manager keepalive interval. |
|
| scheduler.config.manager.keepAlive.interval | string | `"5s"` | Manager keepalive interval. |
|
||||||
| scheduler.config.manager.schedulerClusterID | int | `1` | Associated scheduler cluster id. |
|
| scheduler.config.manager.schedulerClusterID | int | `1` | Associated scheduler cluster id. |
|
||||||
| scheduler.config.pprofPort | int | `-1` | Listen port for pprof, default is -1 (meaning disabled). |
|
| scheduler.config.network.enableIPv6 | bool | `false` | enableIPv6 enables ipv6. |
|
||||||
|
| scheduler.config.pprofPort | int | `-1` | Listen port for pprof, only valid when the verbose option is true. default is -1. If it is 0, pprof will use a random port. |
|
||||||
| scheduler.config.scheduler.algorithm | string | `"default"` | Algorithm configuration to use different scheduling algorithms, default configuration supports "default", "ml" and "nt". "default" is the rule-based scheduling algorithm, "ml" is the machine learning scheduling algorithm. It also supports user plugin extension, the algorithm value is "plugin", and the compiled `d7y-scheduler-plugin-evaluator.so` file is added to the dragonfly working directory plugins. |
|
| scheduler.config.scheduler.algorithm | string | `"default"` | Algorithm configuration to use different scheduling algorithms, default configuration supports "default", "ml" and "nt". "default" is the rule-based scheduling algorithm, "ml" is the machine learning scheduling algorithm. It also supports user plugin extension, the algorithm value is "plugin", and the compiled `d7y-scheduler-plugin-evaluator.so` file is added to the dragonfly working directory plugins. |
|
||||||
| scheduler.config.scheduler.backToSourceCount | int | `200` | backToSourceCount is single task allows the peer to back-to-source count. |
|
| scheduler.config.scheduler.backToSourceCount | int | `200` | backToSourceCount is single task allows the peer to back-to-source count. |
|
||||||
| scheduler.config.scheduler.gc.hostGCInterval | string | `"5m"` | hostGCInterval is the interval of host gc. |
|
| scheduler.config.scheduler.gc.hostGCInterval | string | `"5m"` | hostGCInterval is the interval of host gc. |
|
||||||
| scheduler.config.scheduler.gc.hostTTL | string | `"1h"` | hostTTL is time to live of host. If host announces message to scheduler, then HostTTl will be reset. |
|
| scheduler.config.scheduler.gc.hostTTL | string | `"1h"` | hostTTL is time to live of host. If host announces message to scheduler, then HostTTl will be reset. |
|
||||||
| scheduler.config.scheduler.gc.peerGCInterval | string | `"5m"` | peerGCInterval is the interval of peer gc. |
|
| scheduler.config.scheduler.gc.peerGCInterval | string | `"10s"` | peerGCInterval is the interval of peer gc. |
|
||||||
| scheduler.config.scheduler.gc.peerTTL | string | `"720h"` | peerTTL is the ttl of peer. If the peer has been downloaded by other peers, then PeerTTL will be reset. |
|
| scheduler.config.scheduler.gc.peerTTL | string | `"48h"` | peerTTL is the ttl of peer. If the peer has been downloaded by other peers, then PeerTTL will be reset. |
|
||||||
| scheduler.config.scheduler.gc.pieceDownloadTimeout | string | `"30m"` | pieceDownloadTimeout is the timeout of downloading piece. |
|
| scheduler.config.scheduler.gc.pieceDownloadTimeout | string | `"30m"` | pieceDownloadTimeout is the timeout of downloading piece. |
|
||||||
| scheduler.config.scheduler.gc.taskGCInterval | string | `"30m"` | taskGCInterval is the interval of task gc. If all the peers have been reclaimed in the task, then the task will also be reclaimed. |
|
| scheduler.config.scheduler.gc.taskGCInterval | string | `"30m"` | taskGCInterval is the interval of task gc. If all the peers have been reclaimed in the task, then the task will also be reclaimed. |
|
||||||
| scheduler.config.scheduler.retryBackToSourceLimit | int | `3` | retryBackToSourceLimit reaches the limit, then the peer back-to-source. |
|
| scheduler.config.scheduler.retryBackToSourceLimit | int | `3` | retryBackToSourceLimit reaches the limit, then the peer back-to-source. |
|
||||||
| scheduler.config.scheduler.retryInterval | string | `"1s"` | Retry scheduling interval. |
|
| scheduler.config.scheduler.retryInterval | string | `"50ms"` | Retry scheduling interval. |
|
||||||
| scheduler.config.scheduler.retryLimit | int | `5` | Retry scheduling limit times. |
|
| scheduler.config.scheduler.retryLimit | int | `5` | Retry scheduling limit times. |
|
||||||
| scheduler.config.seedPeer.enable | bool | `true` | scheduler enable seed peer as P2P peer, if the value is false, P2P network will not be back-to-source through seed peer but by dfdaemon and preheat feature does not work. |
|
| scheduler.config.seedPeer.enable | bool | `true` | scheduler enable seed peer as P2P peer, if the value is false, P2P network will not be back-to-source through seed peer but by dfdaemon and preheat feature does not work. |
|
||||||
| scheduler.config.server.advertiseIP | string | `""` | Advertise ip. |
|
| scheduler.config.server.advertiseIP | string | `""` | Advertise ip. |
|
||||||
|
@ -376,11 +373,10 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| scheduler.config.server.dataDir | string | `""` | Storage directory. |
|
| scheduler.config.server.dataDir | string | `""` | Storage directory. |
|
||||||
| scheduler.config.server.listenIP | string | `"0.0.0.0"` | Listen ip. |
|
| scheduler.config.server.listenIP | string | `"0.0.0.0"` | Listen ip. |
|
||||||
| scheduler.config.server.logDir | string | `""` | Log directory. |
|
| scheduler.config.server.logDir | string | `""` | Log directory. |
|
||||||
| scheduler.config.server.logLevel | string | `"info"` | logLevel specifies the logging level for the scheduler. Default: "info" Supported values: "debug", "info", "warn", "error", "panic", "fatal" |
|
|
||||||
| scheduler.config.server.pluginDir | string | `""` | Plugin directory. |
|
| scheduler.config.server.pluginDir | string | `""` | Plugin directory. |
|
||||||
| scheduler.config.server.port | int | `8002` | Server port. |
|
| scheduler.config.server.port | int | `8002` | Server port. |
|
||||||
| scheduler.config.server.workHome | string | `""` | Work directory. |
|
| 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.config.verbose | bool | `false` | Whether to enable debug level logger and enable pprof. |
|
||||||
| scheduler.containerPort | int | `8002` | Pod containerPort. |
|
| scheduler.containerPort | int | `8002` | Pod containerPort. |
|
||||||
| scheduler.enable | bool | `true` | Enable scheduler. |
|
| scheduler.enable | bool | `true` | Enable scheduler. |
|
||||||
| scheduler.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/scheduler","name":"logs"}]` | Extra volumeMounts for scheduler. |
|
| scheduler.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/scheduler","name":"logs"}]` | Extra volumeMounts for scheduler. |
|
||||||
|
@ -393,7 +389,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| scheduler.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
| scheduler.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
||||||
| scheduler.image.registry | string | `"docker.io"` | Image registry. |
|
| scheduler.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
| scheduler.image.repository | string | `"dragonflyoss/scheduler"` | Image repository. |
|
| scheduler.image.repository | string | `"dragonflyoss/scheduler"` | Image repository. |
|
||||||
| scheduler.image.tag | string | `"v2.3.1-rc.2"` | Image tag. |
|
| scheduler.image.tag | string | `"v2.2.2-rc.0"` | Image tag. |
|
||||||
| scheduler.initContainer.image.digest | string | `""` | Image digest. |
|
| scheduler.initContainer.image.digest | string | `""` | Image digest. |
|
||||||
| scheduler.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
| scheduler.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
||||||
| scheduler.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
| scheduler.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
|
@ -429,10 +425,8 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| scheduler.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
|
| scheduler.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
|
||||||
| scheduler.tolerations | list | `[]` | List of node taints to tolerate. |
|
| scheduler.tolerations | list | `[]` | List of node taints to tolerate. |
|
||||||
| scheduler.updateStrategy | object | `{}` | Update strategy for replicas. |
|
| scheduler.updateStrategy | object | `{}` | Update strategy for replicas. |
|
||||||
| seedClient.config.console | bool | `true` | console prints log. |
|
|
||||||
| seedClient.config.download.collectedPieceTimeout | string | `"10s"` | collected_piece_timeout is the timeout for collecting one piece from the parent in the stream. |
|
|
||||||
| seedClient.config.download.concurrentPieceCount | int | `16` | concurrentPieceCount is the number of concurrent pieces to download. |
|
| seedClient.config.download.concurrentPieceCount | int | `16` | concurrentPieceCount is the number of concurrent pieces to download. |
|
||||||
| seedClient.config.download.pieceTimeout | string | `"40s"` | pieceTimeout is the timeout for downloading a piece from source. |
|
| seedClient.config.download.pieceTimeout | string | `"30s"` | pieceTimeout is the timeout for downloading a piece from source. |
|
||||||
| seedClient.config.download.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s. |
|
| seedClient.config.download.rateLimit | string | `"50GiB"` | rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s. |
|
||||||
| seedClient.config.download.server.requestRateLimit | int | `4000` | request_rate_limit is the rate limit of the download request in the download grpc server, default is 4000 req/s. |
|
| seedClient.config.download.server.requestRateLimit | int | `4000` | request_rate_limit is the rate limit of the download request in the download grpc server, default is 4000 req/s. |
|
||||||
| seedClient.config.download.server.socketPath | string | `"/var/run/dragonfly/dfdaemon.sock"` | socketPath is the unix socket path for dfdaemon GRPC service. |
|
| seedClient.config.download.server.socketPath | string | `"/var/run/dragonfly/dfdaemon.sock"` | socketPath is the unix socket path for dfdaemon GRPC service. |
|
||||||
|
@ -440,7 +434,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| seedClient.config.gc.interval | string | `"900s"` | interval is the interval to do gc. |
|
| seedClient.config.gc.interval | string | `"900s"` | interval is the interval to do gc. |
|
||||||
| seedClient.config.gc.policy.distHighThresholdPercent | int | `80` | distHighThresholdPercent is the high threshold percent of the disk usage. If the disk usage is greater than the threshold, dfdaemon will do gc. |
|
| seedClient.config.gc.policy.distHighThresholdPercent | int | `80` | distHighThresholdPercent is the high threshold percent of the disk usage. If the disk usage is greater than the threshold, dfdaemon will do gc. |
|
||||||
| seedClient.config.gc.policy.distLowThresholdPercent | int | `60` | distLowThresholdPercent is the low threshold percent of the disk usage. If the disk usage is less than the threshold, dfdaemon will stop gc. |
|
| seedClient.config.gc.policy.distLowThresholdPercent | int | `60` | distLowThresholdPercent is the low threshold percent of the disk usage. If the disk usage is less than the threshold, dfdaemon will stop gc. |
|
||||||
| seedClient.config.gc.policy.taskTTL | string | `"720h"` | taskTTL is the ttl of the task. |
|
| seedClient.config.gc.policy.taskTTL | string | `"168h"` | taskTTL is the ttl of the task. |
|
||||||
| seedClient.config.health.server.port | int | `4003` | port is the port to the health server. |
|
| seedClient.config.health.server.port | int | `4003` | port is the port to the health server. |
|
||||||
| seedClient.config.host | object | `{"idc":"","location":""}` | host is the host configuration for dfdaemon. |
|
| seedClient.config.host | object | `{"idc":"","location":""}` | host is the host configuration for dfdaemon. |
|
||||||
| seedClient.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
| seedClient.config.log.level | string | `"info"` | Specify the logging level [trace, debug, info, warn, error] |
|
||||||
|
@ -455,23 +449,22 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| seedClient.config.proxy.server.port | int | `4001` | port is the port to the proxy server. |
|
| seedClient.config.proxy.server.port | int | `4001` | port is the port to the proxy server. |
|
||||||
| seedClient.config.scheduler.announceInterval | string | `"1m"` | announceInterval is the interval to announce peer to the scheduler. Announcer will provide the scheduler with peer information for scheduling, peer information includes cpu, memory, etc. |
|
| seedClient.config.scheduler.announceInterval | string | `"1m"` | announceInterval is the interval to announce peer to the scheduler. Announcer will provide the scheduler with peer information for scheduling, peer information includes cpu, memory, etc. |
|
||||||
| seedClient.config.scheduler.maxScheduleCount | int | `5` | maxScheduleCount is the max count of schedule. |
|
| seedClient.config.scheduler.maxScheduleCount | int | `5` | maxScheduleCount is the max count of schedule. |
|
||||||
| seedClient.config.scheduler.scheduleTimeout | string | `"3h"` | scheduleTimeout is timeout for the scheduler to respond to a scheduling request from dfdaemon, default is 3 hours. If the scheduler's response time for a scheduling decision exceeds this timeout, dfdaemon will encounter a `TokioStreamElapsed(Elapsed(()))` error. Behavior upon timeout: - If `enable_back_to_source` is `true`, dfdaemon will attempt to download directly from the source. - Otherwise (if `enable_back_to_source` is `false`), dfdaemon will report a download failure. **Important Considerations Regarding Timeout Triggers**: This timeout isn't solely for the scheduler's direct response. It can also be triggered if the overall duration of the client's interaction with the scheduler for a task (e.g., client downloading initial pieces and reporting their status back to the scheduler) exceeds `schedule_timeout`. During such client-side processing and reporting, the scheduler might be awaiting these updates before sending its comprehensive scheduling response, and this entire period is subject to the `schedule_timeout`. **Configuration Guidance**: To prevent premature timeouts, `schedule_timeout` should be configured to a value greater than the maximum expected time for the *entire scheduling interaction*. This includes: 1. The scheduler's own processing and response time. 2. The time taken by the client to download any initial pieces and download all pieces finished, as this communication is part of the scheduling phase. Setting this value too low can lead to `TokioStreamElapsed` errors even if the network and scheduler are functioning correctly but the combined interaction time is longer than the configured timeout. |
|
| seedClient.config.scheduler.scheduleTimeout | string | `"30s"` | scheduleTimeout is the timeout for scheduling. If the scheduling timesout, dfdaemon will back-to-source download if enableBackToSource is true, otherwise dfdaemon will return download failed. |
|
||||||
| seedClient.config.seedPeer.clusterID | int | `1` | clusterID is the cluster id of the seed peer cluster. |
|
| seedClient.config.seedPeer.clusterID | int | `1` | clusterID is the cluster id of the seed peer cluster. |
|
||||||
| seedClient.config.seedPeer.enable | bool | `true` | enable indicates whether enable seed peer. |
|
| seedClient.config.seedPeer.enable | bool | `true` | enable indicates whether enable seed peer. |
|
||||||
| seedClient.config.seedPeer.keepaliveInterval | string | `"15s"` | keepaliveInterval is the interval to keep alive with manager. |
|
| seedClient.config.seedPeer.keepaliveInterval | string | `"15s"` | keepaliveInterval is the interval to keep alive with manager. |
|
||||||
| seedClient.config.seedPeer.type | string | `"super"` | type is the type of seed peer. |
|
| seedClient.config.seedPeer.type | string | `"super"` | type is the type of seed peer. |
|
||||||
| seedClient.config.server.cacheDir | string | `"/var/cache/dragonfly/dfdaemon/"` | cacheDir is the directory to store cache files. |
|
| seedClient.config.server.cacheDir | string | `"/var/cache/dragonfly/dfdaemon/"` | cacheDir is the directory to store cache files. |
|
||||||
| seedClient.config.server.pluginDir | string | `"/usr/local/lib/dragonfly/plugins/dfdaemon/"` | pluginDir is the directory to store plugins. |
|
| seedClient.config.server.pluginDir | string | `"/var/lib/dragonfly/plugins/dfdaemon/"` | pluginDir is the directory to store plugins. |
|
||||||
| seedClient.config.stats.server.port | int | `4004` | port is the port to the stats server. |
|
| seedClient.config.stats.server.port | int | `4004` | port is the port to the stats server. |
|
||||||
| seedClient.config.storage.dir | string | `"/var/lib/dragonfly/"` | dir is the directory to store task's metadata and content. |
|
| seedClient.config.storage.dir | string | `"/var/lib/dragonfly/"` | dir is the directory to store task's metadata and content. |
|
||||||
| seedClient.config.storage.keep | bool | `true` | keep indicates whether keep the task's metadata and content when the dfdaemon restarts. |
|
| seedClient.config.storage.keep | bool | `true` | keep indicates whether keep the task's metadata and content when the dfdaemon restarts. |
|
||||||
| seedClient.config.storage.readBufferSize | int | `4194304` | readBufferSize is the buffer size for reading piece from disk, default is 4MiB. |
|
| 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.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.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.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. |
|
| 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. |
|
||||||
|
| seedClient.config.verbose | bool | `true` | verbose prints log. |
|
||||||
| seedClient.enable | bool | `true` | Enable seed client. |
|
| seedClient.enable | bool | `true` | Enable seed client. |
|
||||||
| seedClient.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/dfdaemon/","name":"logs"}]` | Extra volumeMounts for dfdaemon. |
|
| seedClient.extraVolumeMounts | list | `[{"mountPath":"/var/log/dragonfly/dfdaemon/","name":"logs"}]` | Extra volumeMounts for dfdaemon. |
|
||||||
| seedClient.extraVolumes | list | `[{"emptyDir":{},"name":"logs"}]` | Extra volumes for dfdaemon. |
|
| seedClient.extraVolumes | list | `[{"emptyDir":{},"name":"logs"}]` | Extra volumes for dfdaemon. |
|
||||||
|
@ -483,7 +476,7 @@ helm delete dragonfly --namespace dragonfly-system
|
||||||
| seedClient.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
| seedClient.image.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
|
||||||
| seedClient.image.registry | string | `"docker.io"` | Image registry. |
|
| seedClient.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
| seedClient.image.repository | string | `"dragonflyoss/client"` | Image repository. |
|
| seedClient.image.repository | string | `"dragonflyoss/client"` | Image repository. |
|
||||||
| seedClient.image.tag | string | `"v1.0.9"` | Image tag. |
|
| seedClient.image.tag | string | `"v0.2.23"` | Image tag. |
|
||||||
| seedClient.initContainer.image.digest | string | `""` | Image digest. |
|
| seedClient.initContainer.image.digest | string | `""` | Image digest. |
|
||||||
| seedClient.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
| seedClient.initContainer.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
|
||||||
| seedClient.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
| seedClient.initContainer.image.registry | string | `"docker.io"` | Image registry. |
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
@ -43,6 +44,8 @@ data:
|
||||||
{{ toYaml .Values.client.config.metrics | indent 6 }}
|
{{ toYaml .Values.client.config.metrics | indent 6 }}
|
||||||
stats:
|
stats:
|
||||||
{{ toYaml .Values.client.config.stats | indent 6 }}
|
{{ toYaml .Values.client.config.stats | indent 6 }}
|
||||||
|
{{- if .Values.client.config.tracing }}
|
||||||
tracing:
|
tracing:
|
||||||
{{ toYaml .Values.client.config.tracing | indent 6 }}
|
{{ toYaml .Values.client.config.tracing | indent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
@ -22,19 +23,18 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: "{{ .Values.client.name }}"
|
component: "{{ .Values.client.name }}"
|
||||||
|
release: {{ .Release.Name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: "{{ .Values.client.name }}"
|
component: "{{ .Values.client.name }}"
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- if .Values.client.podLabels }}
|
{{- if .Values.client.podLabels }}
|
||||||
{{ toYaml .Values.client.podLabels | indent 8 }}
|
{{ toYaml .Values.client.podLabels | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/client/client-configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/client/client-configmap.yaml") . | sha256sum }}
|
||||||
{{- if .Values.client.dfinit.enable }}
|
|
||||||
checksum/dfinit-config: {{ include (print $.Template.BasePath "/client/dfinit-configmap.yaml") . | sha256sum }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.client.podAnnotations }}
|
{{- if .Values.client.podAnnotations }}
|
||||||
{{ toYaml .Values.client.podAnnotations | indent 8 }}
|
{{ toYaml .Values.client.podAnnotations | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -84,8 +84,8 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.client.dfinit.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.client.dfinit.image.pullPolicy }}
|
||||||
args:
|
args:
|
||||||
- --log-level={{ .Values.client.dfinit.config.log.level }}
|
- --log-level={{ .Values.client.dfinit.config.log.level }}
|
||||||
{{- if .Values.client.dfinit.config.console }}
|
{{- if .Values.client.dfinit.config.verbose }}
|
||||||
- --console
|
- --verbose
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.client.initContainer.resources | indent 10 }}
|
{{ toYaml .Values.client.initContainer.resources | indent 10 }}
|
||||||
|
@ -109,7 +109,7 @@ spec:
|
||||||
mountPath: {{ dir .Values.client.dfinit.config.containerRuntime.docker.configPath }}
|
mountPath: {{ dir .Values.client.dfinit.config.containerRuntime.docker.configPath }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and .Values.client.dfinit.enable .Values.client.dfinit.restartContainerRuntime }}
|
{{- if .Values.client.dfinit.enable }}
|
||||||
- name: restart-container-runtime
|
- name: restart-container-runtime
|
||||||
image: {{ template "client.initContainer.image" . }}
|
image: {{ template "client.initContainer.image" . }}
|
||||||
imagePullPolicy: {{ .Values.client.initContainer.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.client.initContainer.image.pullPolicy }}
|
||||||
|
@ -144,8 +144,8 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.client.image.pullPolicy | quote }}
|
imagePullPolicy: {{ .Values.client.image.pullPolicy | quote }}
|
||||||
args:
|
args:
|
||||||
- --log-level={{ .Values.client.config.log.level }}
|
- --log-level={{ .Values.client.config.log.level }}
|
||||||
{{- if .Values.client.config.console }}
|
{{- if .Values.client.config.verbose }}
|
||||||
- --console
|
- --verbose
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.client.resources | indent 10 }}
|
{{ toYaml .Values.client.resources | indent 10 }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- if .Values.client.metrics.enable }}
|
{{- if and .Values.client.metrics.enable .Values.client.metrics.serviceMonitor.enable }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -6,11 +6,12 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}-metrics
|
component: {{ .Values.client.name }}-metrics
|
||||||
{{- if .Values.client.metrics.service.labels }}
|
{{- if .Values.client.metrics.service.labels }}
|
||||||
{{ toYaml .Values.client.metrics.service.labels | indent 4 }}
|
{{ toYaml .Values.metrics.service.labels | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.client.metrics.service.annotations }}
|
{{- if .Values.client.metrics.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -27,4 +28,5 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.client.name }}
|
component: {{ .Values.client.name }}
|
||||||
|
@ -27,5 +28,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.client.name }}-metrics
|
component: {{ .Values.client.name }}-metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
@ -25,7 +26,6 @@ data:
|
||||||
start: {{ .Values.manager.grpcPort }}
|
start: {{ .Values.manager.grpcPort }}
|
||||||
end: {{ .Values.manager.grpcPort }}
|
end: {{ .Values.manager.grpcPort }}
|
||||||
workHome: {{ .Values.manager.config.server.workHome }}
|
workHome: {{ .Values.manager.config.server.workHome }}
|
||||||
logLevel: {{ .Values.manager.config.server.logLevel }}
|
|
||||||
logDir: {{ .Values.manager.config.server.logDir }}
|
logDir: {{ .Values.manager.config.server.logDir }}
|
||||||
cacheDir: {{ .Values.manager.config.server.cacheDir }}
|
cacheDir: {{ .Values.manager.config.server.cacheDir }}
|
||||||
pluginDir: {{ .Values.manager.config.server.pluginDir }}
|
pluginDir: {{ .Values.manager.config.server.pluginDir }}
|
||||||
|
@ -59,8 +59,6 @@ data:
|
||||||
masterName: {{ .Values.externalRedis.masterName }}
|
masterName: {{ .Values.externalRedis.masterName }}
|
||||||
username: {{ .Values.externalRedis.username }}
|
username: {{ .Values.externalRedis.username }}
|
||||||
password: {{ .Values.externalRedis.password }}
|
password: {{ .Values.externalRedis.password }}
|
||||||
sentinelUsername: {{ .Values.externalRedis.sentinelUsername }}
|
|
||||||
sentinelPassword: {{ .Values.externalRedis.sentinelPassword }}
|
|
||||||
db: {{ .Values.externalRedis.db }}
|
db: {{ .Values.externalRedis.db }}
|
||||||
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
||||||
backendDB: {{ .Values.externalRedis.backendDB }}
|
backendDB: {{ .Values.externalRedis.backendDB }}
|
||||||
|
@ -75,7 +73,11 @@ data:
|
||||||
enable: {{ .Values.manager.metrics.enable }}
|
enable: {{ .Values.manager.metrics.enable }}
|
||||||
addr: ":8000"
|
addr: ":8000"
|
||||||
console: {{ .Values.manager.config.console }}
|
console: {{ .Values.manager.config.console }}
|
||||||
pprofPort: {{ .Values.manager.config.pprofPort }}
|
verbose: {{ .Values.manager.config.verbose }}
|
||||||
tracing:
|
{{- if .Values.manager.config.verbose }}
|
||||||
{{ toYaml .Values.manager.config.tracing | indent 6 }}
|
pprof-port: {{ .Values.manager.config.pprofPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.manager.config.jaeger }}
|
||||||
|
jaeger: {{ .Values.manager.config.jaeger }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -4,6 +4,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
@ -22,11 +23,13 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- if .Values.manager.podLabels }}
|
{{- if .Values.manager.podLabels }}
|
||||||
{{ toYaml .Values.manager.podLabels | indent 8 }}
|
{{ toYaml .Values.manager.podLabels | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -12,6 +12,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
@ -34,5 +35,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,11 +6,12 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}-metrics
|
component: {{ .Values.manager.name }}-metrics
|
||||||
{{- if .Values.manager.metrics.service.labels }}
|
{{- if .Values.manager.metrics.service.labels }}
|
||||||
{{ toYaml .Values.manager.metrics.service.labels | indent 4 }}
|
{{ toYaml .Values.metrics.service.labels | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.manager.metrics.service.annotations }}
|
{{- if .Values.manager.metrics.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -26,5 +27,6 @@ spec:
|
||||||
targetPort: 8000
|
targetPort: 8000
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.manager.name }}
|
component: {{ .Values.manager.name }}
|
||||||
|
@ -27,5 +28,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.manager.name }}-metrics
|
component: {{ .Values.manager.name }}-metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,11 +6,12 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}-metrics
|
component: {{ .Values.scheduler.name }}-metrics
|
||||||
{{- if .Values.scheduler.metrics.service.labels }}
|
{{- if .Values.scheduler.metrics.service.labels }}
|
||||||
{{ toYaml .Values.scheduler.metrics.service.labels | indent 4 }}
|
{{ toYaml .Values.metrics.service.labels | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.scheduler.metrics.service.annotations }}
|
{{- if .Values.scheduler.metrics.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -27,4 +28,5 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
@ -27,8 +28,6 @@ data:
|
||||||
masterName: {{ .Values.externalRedis.masterName }}
|
masterName: {{ .Values.externalRedis.masterName }}
|
||||||
username: {{ .Values.externalRedis.username }}
|
username: {{ .Values.externalRedis.username }}
|
||||||
password: {{ .Values.externalRedis.password }}
|
password: {{ .Values.externalRedis.password }}
|
||||||
sentinelUsername: {{ .Values.externalRedis.sentinelUsername }}
|
|
||||||
sentinelPassword: {{ .Values.externalRedis.sentinelPassword }}
|
|
||||||
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
||||||
backendDB: {{ .Values.externalRedis.backendDB }}
|
backendDB: {{ .Values.externalRedis.backendDB }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -59,8 +58,6 @@ data:
|
||||||
masterName: {{ .Values.externalRedis.masterName }}
|
masterName: {{ .Values.externalRedis.masterName }}
|
||||||
username: {{ .Values.externalRedis.username }}
|
username: {{ .Values.externalRedis.username }}
|
||||||
password: {{ .Values.externalRedis.password }}
|
password: {{ .Values.externalRedis.password }}
|
||||||
sentinelUsername: {{ .Values.externalRedis.sentinelUsername }}
|
|
||||||
sentinelPassword: {{ .Values.externalRedis.sentinelPassword }}
|
|
||||||
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
brokerDB: {{ .Values.externalRedis.brokerDB }}
|
||||||
backendDB: {{ .Values.externalRedis.backendDB }}
|
backendDB: {{ .Values.externalRedis.backendDB }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -73,7 +70,11 @@ data:
|
||||||
addr: ":8000"
|
addr: ":8000"
|
||||||
enableHost: {{ .Values.scheduler.metrics.enableHost }}
|
enableHost: {{ .Values.scheduler.metrics.enableHost }}
|
||||||
console: {{ .Values.scheduler.config.console }}
|
console: {{ .Values.scheduler.config.console }}
|
||||||
pprofPort: {{ .Values.scheduler.config.pprofPort }}
|
verbose: {{ .Values.scheduler.config.verbose }}
|
||||||
tracing:
|
{{- if .Values.scheduler.config.verbose }}
|
||||||
{{ toYaml .Values.scheduler.config.tracing | indent 6 }}
|
pprof-port: {{ .Values.scheduler.config.pprofPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.scheduler.config.jaeger }}
|
||||||
|
jaeger: {{ .Values.scheduler.config.jaeger }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
@ -22,12 +23,14 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
serviceName: scheduler
|
serviceName: scheduler
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
{{- if .Values.scheduler.podLabels }}
|
{{- if .Values.scheduler.podLabels }}
|
||||||
{{ toYaml .Values.scheduler.podLabels | indent 8 }}
|
{{ toYaml .Values.scheduler.podLabels | indent 8 }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
@ -29,5 +30,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.scheduler.name }}
|
component: {{ .Values.scheduler.name }}
|
||||||
|
@ -27,5 +28,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.scheduler.name }}-metrics
|
component: {{ .Values.scheduler.name }}-metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- if .Values.seedClient.metrics.enable }}
|
{{- if and .Values.seedClient.metrics.enable .Values.seedClient.metrics.serviceMonitor.enable }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -6,11 +6,12 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}-metrics
|
component: {{ .Values.seedClient.name }}-metrics
|
||||||
{{- if .Values.seedClient.metrics.service.labels }}
|
{{- if .Values.seedClient.metrics.service.labels }}
|
||||||
{{ toYaml .Values.seedClient.metrics.service.labels | indent 4 }}
|
{{ toYaml .Values.metrics.service.labels | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.seedClient.metrics.service.annotations }}
|
{{- if .Values.seedClient.metrics.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -27,4 +28,5 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
@ -45,6 +46,8 @@ data:
|
||||||
{{ toYaml .Values.seedClient.config.metrics | indent 6 }}
|
{{ toYaml .Values.seedClient.config.metrics | indent 6 }}
|
||||||
stats:
|
stats:
|
||||||
{{ toYaml .Values.seedClient.config.stats | indent 6 }}
|
{{ toYaml .Values.seedClient.config.stats | indent 6 }}
|
||||||
|
{{- if .Values.client.config.tracing }}
|
||||||
tracing:
|
tracing:
|
||||||
{{ toYaml .Values.seedClient.config.tracing | indent 6 }}
|
{{ toYaml .Values.client.config.tracing | indent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -4,6 +4,7 @@ kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
@ -23,12 +24,14 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
serviceName: seed-client
|
serviceName: seed-client
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
{{- if .Values.seedClient.podLabels }}
|
{{- if .Values.seedClient.podLabels }}
|
||||||
{{ toYaml .Values.seedClient.podLabels | indent 8 }}
|
{{ toYaml .Values.seedClient.podLabels | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -85,8 +88,8 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.seedClient.image.pullPolicy | quote }}
|
imagePullPolicy: {{ .Values.seedClient.image.pullPolicy | quote }}
|
||||||
args:
|
args:
|
||||||
- --log-level={{ .Values.client.config.log.level }}
|
- --log-level={{ .Values.client.config.log.level }}
|
||||||
{{- if .Values.seedClient.config.console }}
|
{{- if .Values.seedClient.config.verbose }}
|
||||||
- --console
|
- --verbose
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.seedClient.resources | indent 10 }}
|
{{ toYaml .Values.seedClient.resources | indent 10 }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
@ -39,5 +40,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app: {{ template "dragonfly.fullname" . }}
|
app: {{ template "dragonfly.fullname" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
namespace: {{ include "common.names.namespace" . | quote }}
|
namespace: {{ include "common.names.namespace" . | quote }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
component: {{ .Values.seedClient.name }}
|
component: {{ .Values.seedClient.name }}
|
||||||
|
@ -27,5 +28,6 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "dragonfly.name" . }}
|
app: {{ template "dragonfly.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
component: {{ .Values.seedClient.name }}-metrics
|
component: {{ .Values.seedClient.name }}-metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -39,7 +39,7 @@ manager:
|
||||||
# -- Image repository.
|
# -- Image repository.
|
||||||
repository: dragonflyoss/manager
|
repository: dragonflyoss/manager
|
||||||
# -- Image tag.
|
# -- Image tag.
|
||||||
tag: v2.3.1-rc.2
|
tag: v2.2.2-rc.0
|
||||||
# -- Image digest.
|
# -- Image digest.
|
||||||
digest: ""
|
digest: ""
|
||||||
# -- Image pull policy.
|
# -- Image pull policy.
|
||||||
|
@ -153,10 +153,6 @@ manager:
|
||||||
key: ""
|
key: ""
|
||||||
# -- Work directory.
|
# -- Work directory.
|
||||||
workHome: ""
|
workHome: ""
|
||||||
# -- logLevel specifies the logging level for the manager.
|
|
||||||
# Default: "info"
|
|
||||||
# Supported values: "debug", "info", "warn", "error", "panic", "fatal"
|
|
||||||
logLevel: "info"
|
|
||||||
# -- Log directory.
|
# -- Log directory.
|
||||||
logDir: ""
|
logDir: ""
|
||||||
# -- Dynconfig cache directory.
|
# -- Dynconfig cache directory.
|
||||||
|
@ -218,21 +214,18 @@ manager:
|
||||||
insecureSkipVerify: false
|
insecureSkipVerify: false
|
||||||
# # caCert is the CA certificate for preheat tls handshake, it can be path or PEM format string.
|
# # caCert is the CA certificate for preheat tls handshake, it can be path or PEM format string.
|
||||||
# caCert: ''
|
# caCert: ''
|
||||||
|
network:
|
||||||
|
# -- enableIPv6 enables ipv6.
|
||||||
|
enableIPv6: false
|
||||||
# -- Console shows log on console.
|
# -- Console shows log on console.
|
||||||
console: true
|
console: true
|
||||||
# -- Listen port for pprof, default is -1 (meaning disabled).
|
# -- Whether to enable debug level logger and enable pprof.
|
||||||
|
verbose: false
|
||||||
|
# -- Listen port for pprof, only valid when the verbose option is true
|
||||||
|
# default is -1. If it is 0, pprof will use a random port.
|
||||||
pprofPort: -1
|
pprofPort: -1
|
||||||
tracing:
|
# - Jaeger endpoint url, like: http://jaeger.dragonfly.svc:14268/api/traces.
|
||||||
# -- Protocol specifies the communication protocol for the tracing server.
|
jaeger: ""
|
||||||
# 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:
|
metrics:
|
||||||
# -- Enable manager metrics.
|
# -- Enable manager metrics.
|
||||||
enable: true
|
enable: true
|
||||||
|
@ -322,7 +315,7 @@ scheduler:
|
||||||
# -- Image repository.
|
# -- Image repository.
|
||||||
repository: dragonflyoss/scheduler
|
repository: dragonflyoss/scheduler
|
||||||
# -- Image tag.
|
# -- Image tag.
|
||||||
tag: v2.3.1-rc.2
|
tag: v2.2.2-rc.0
|
||||||
# -- Image digest.
|
# -- Image digest.
|
||||||
digest: ""
|
digest: ""
|
||||||
# -- Image pull policy.
|
# -- Image pull policy.
|
||||||
|
@ -418,10 +411,6 @@ scheduler:
|
||||||
#
|
#
|
||||||
# -- Work directory.
|
# -- Work directory.
|
||||||
workHome: ""
|
workHome: ""
|
||||||
# -- logLevel specifies the logging level for the scheduler.
|
|
||||||
# Default: "info"
|
|
||||||
# Supported values: "debug", "info", "warn", "error", "panic", "fatal"
|
|
||||||
logLevel: "info"
|
|
||||||
# -- Log directory.
|
# -- Log directory.
|
||||||
logDir: ""
|
logDir: ""
|
||||||
# -- Dynconfig cache directory.
|
# -- Dynconfig cache directory.
|
||||||
|
@ -445,15 +434,15 @@ scheduler:
|
||||||
# -- Retry scheduling limit times.
|
# -- Retry scheduling limit times.
|
||||||
retryLimit: 5
|
retryLimit: 5
|
||||||
# -- Retry scheduling interval.
|
# -- Retry scheduling interval.
|
||||||
retryInterval: 1s
|
retryInterval: 50ms
|
||||||
gc:
|
gc:
|
||||||
# -- pieceDownloadTimeout is the timeout of downloading piece.
|
# -- pieceDownloadTimeout is the timeout of downloading piece.
|
||||||
pieceDownloadTimeout: 30m
|
pieceDownloadTimeout: 30m
|
||||||
# -- peerGCInterval is the interval of peer gc.
|
# -- peerGCInterval is the interval of peer gc.
|
||||||
peerGCInterval: 5m
|
peerGCInterval: 10s
|
||||||
# -- peerTTL is the ttl of peer. If the peer has been downloaded by other peers,
|
# -- peerTTL is the ttl of peer. If the peer has been downloaded by other peers,
|
||||||
# then PeerTTL will be reset.
|
# then PeerTTL will be reset.
|
||||||
peerTTL: 720h
|
peerTTL: 48h
|
||||||
# -- taskGCInterval is the interval of task gc. If all the peers have been reclaimed in the task,
|
# -- taskGCInterval is the interval of task gc. If all the peers have been reclaimed in the task,
|
||||||
# then the task will also be reclaimed.
|
# then the task will also be reclaimed.
|
||||||
taskGCInterval: 30m
|
taskGCInterval: 30m
|
||||||
|
@ -500,21 +489,18 @@ scheduler:
|
||||||
# cert: /etc/ssl/certs/client.crt
|
# cert: /etc/ssl/certs/client.crt
|
||||||
# # Key file path for mTLS.
|
# # Key file path for mTLS.
|
||||||
# key: /etc/ssl/private/client.pem
|
# key: /etc/ssl/private/client.pem
|
||||||
|
network:
|
||||||
|
# -- enableIPv6 enables ipv6.
|
||||||
|
enableIPv6: false
|
||||||
# -- Console shows log on console.
|
# -- Console shows log on console.
|
||||||
console: true
|
console: true
|
||||||
# -- Listen port for pprof, default is -1 (meaning disabled).
|
# -- Whether to enable debug level logger and enable pprof.
|
||||||
|
verbose: false
|
||||||
|
# -- Listen port for pprof, only valid when the verbose option is true.
|
||||||
|
# default is -1. If it is 0, pprof will use a random port.
|
||||||
pprofPort: -1
|
pprofPort: -1
|
||||||
tracing:
|
# - Jaeger endpoint url, like: http://jaeger.dragonfly.svc:14268/api/traces.
|
||||||
# -- Protocol specifies the communication protocol for the tracing server.
|
jaeger: ""
|
||||||
# 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:
|
metrics:
|
||||||
# -- Enable scheduler metrics.
|
# -- Enable scheduler metrics.
|
||||||
enable: true
|
enable: true
|
||||||
|
@ -702,7 +688,7 @@ seedClient:
|
||||||
# -- Image repository.
|
# -- Image repository.
|
||||||
repository: dragonflyoss/client
|
repository: dragonflyoss/client
|
||||||
# -- Image tag.
|
# -- Image tag.
|
||||||
tag: v1.0.9
|
tag: v0.2.23
|
||||||
# -- Image digest.
|
# -- Image digest.
|
||||||
digest: ""
|
digest: ""
|
||||||
# -- Image pull policy.
|
# -- Image pull policy.
|
||||||
|
@ -794,8 +780,8 @@ seedClient:
|
||||||
# -- Service nodePort.
|
# -- Service nodePort.
|
||||||
nodePort: ""
|
nodePort: ""
|
||||||
config:
|
config:
|
||||||
# -- console prints log.
|
# -- verbose prints log.
|
||||||
console: true
|
verbose: true
|
||||||
log:
|
log:
|
||||||
# -- Specify the logging level [trace, debug, info, warn, error]
|
# -- Specify the logging level [trace, debug, info, warn, error]
|
||||||
level: info
|
level: info
|
||||||
|
@ -811,7 +797,7 @@ seedClient:
|
||||||
# ip: ""
|
# ip: ""
|
||||||
server:
|
server:
|
||||||
# -- pluginDir is the directory to store plugins.
|
# -- pluginDir is the directory to store plugins.
|
||||||
pluginDir: /usr/local/lib/dragonfly/plugins/dfdaemon/
|
pluginDir: /var/lib/dragonfly/plugins/dfdaemon/
|
||||||
# -- cacheDir is the directory to store cache files.
|
# -- cacheDir is the directory to store cache files.
|
||||||
cacheDir: /var/cache/dragonfly/dfdaemon/
|
cacheDir: /var/cache/dragonfly/dfdaemon/
|
||||||
download:
|
download:
|
||||||
|
@ -823,9 +809,7 @@ seedClient:
|
||||||
# -- rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s.
|
# -- rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s.
|
||||||
rateLimit: 50GiB
|
rateLimit: 50GiB
|
||||||
# -- pieceTimeout is the timeout for downloading a piece from source.
|
# -- pieceTimeout is the timeout for downloading a piece from source.
|
||||||
pieceTimeout: 40s
|
pieceTimeout: 30s
|
||||||
# -- collected_piece_timeout is the timeout for collecting one piece from the parent in the stream.
|
|
||||||
collectedPieceTimeout: 10s
|
|
||||||
# -- concurrentPieceCount is the number of concurrent pieces to download.
|
# -- concurrentPieceCount is the number of concurrent pieces to download.
|
||||||
concurrentPieceCount: 16
|
concurrentPieceCount: 16
|
||||||
upload:
|
upload:
|
||||||
|
@ -867,36 +851,9 @@ seedClient:
|
||||||
# Announcer will provide the scheduler with peer information for scheduling,
|
# Announcer will provide the scheduler with peer information for scheduling,
|
||||||
# peer information includes cpu, memory, etc.
|
# peer information includes cpu, memory, etc.
|
||||||
announceInterval: 1m
|
announceInterval: 1m
|
||||||
# -- scheduleTimeout is timeout for the scheduler to respond to a scheduling request from dfdaemon, default is 3 hours.
|
# -- scheduleTimeout is the timeout for scheduling. If the scheduling timesout, dfdaemon will back-to-source
|
||||||
#
|
# download if enableBackToSource is true, otherwise dfdaemon will return download failed.
|
||||||
# If the scheduler's response time for a scheduling decision exceeds this timeout,
|
scheduleTimeout: 30s
|
||||||
# dfdaemon will encounter a `TokioStreamElapsed(Elapsed(()))` error.
|
|
||||||
#
|
|
||||||
# Behavior upon timeout:
|
|
||||||
# - If `enable_back_to_source` is `true`, dfdaemon will attempt to download directly
|
|
||||||
# from the source.
|
|
||||||
# - Otherwise (if `enable_back_to_source` is `false`), dfdaemon will report a download failure.
|
|
||||||
#
|
|
||||||
# **Important Considerations Regarding Timeout Triggers**:
|
|
||||||
# This timeout isn't solely for the scheduler's direct response. It can also be triggered
|
|
||||||
# if the overall duration of the client's interaction with the scheduler for a task
|
|
||||||
# (e.g., client downloading initial pieces and reporting their status back to the scheduler)
|
|
||||||
# exceeds `schedule_timeout`. During such client-side processing and reporting,
|
|
||||||
# the scheduler might be awaiting these updates before sending its comprehensive
|
|
||||||
# scheduling response, and this entire period is subject to the `schedule_timeout`.
|
|
||||||
#
|
|
||||||
# **Configuration Guidance**:
|
|
||||||
# To prevent premature timeouts, `schedule_timeout` should be configured to a value
|
|
||||||
# greater than the maximum expected time for the *entire scheduling interaction*.
|
|
||||||
# This includes:
|
|
||||||
# 1. The scheduler's own processing and response time.
|
|
||||||
# 2. The time taken by the client to download any initial pieces and download all pieces finished,
|
|
||||||
# as this communication is part of the scheduling phase.
|
|
||||||
#
|
|
||||||
# Setting this value too low can lead to `TokioStreamElapsed` errors even if the
|
|
||||||
# network and scheduler are functioning correctly but the combined interaction time
|
|
||||||
# is longer than the configured timeout.
|
|
||||||
scheduleTimeout: 3h
|
|
||||||
# -- maxScheduleCount is the max count of schedule.
|
# -- maxScheduleCount is the max count of schedule.
|
||||||
maxScheduleCount: 5
|
maxScheduleCount: 5
|
||||||
# # CA certificate file path for mTLS.
|
# # CA certificate file path for mTLS.
|
||||||
|
@ -926,26 +883,12 @@ seedClient:
|
||||||
writeBufferSize: 4194304
|
writeBufferSize: 4194304
|
||||||
# -- readBufferSize is the buffer size for reading piece from disk, default is 4MiB.
|
# -- readBufferSize is the buffer size for reading piece from disk, default is 4MiB.
|
||||||
readBufferSize: 4194304
|
readBufferSize: 4194304
|
||||||
# -- writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache).
|
|
||||||
writePieceTimeout: 30s
|
|
||||||
gc:
|
gc:
|
||||||
# -- interval is the interval to do gc.
|
# -- interval is the interval to do gc.
|
||||||
interval: 900s
|
interval: 900s
|
||||||
policy:
|
policy:
|
||||||
# -- taskTTL is the ttl of the task.
|
# -- taskTTL is the ttl of the task.
|
||||||
taskTTL: 720h
|
taskTTL: 168h
|
||||||
# # distThreshold optionally defines a specific disk capacity to be used as the base for
|
|
||||||
# # calculating GC trigger points with `distHighThresholdPercent` and `distLowThresholdPercent`.
|
|
||||||
# #
|
|
||||||
# # - If a value is provided (e.g., "500GB"), the percentage-based thresholds (`distHighThresholdPercent`,
|
|
||||||
# # `distLowThresholdPercent`) are applied relative to this specified capacity.
|
|
||||||
# # - If not provided or set to 0 (the default behavior), these percentage-based thresholds are applied
|
|
||||||
# # relative to the total actual disk space.
|
|
||||||
# #
|
|
||||||
# # This allows dfdaemon to effectively manage a logical portion of the disk for its cache,
|
|
||||||
# # rather than always considering the entire disk volume.
|
|
||||||
#
|
|
||||||
# distThreshold: 10TiB
|
|
||||||
# -- distHighThresholdPercent is the high threshold percent of the disk usage.
|
# -- distHighThresholdPercent is the high threshold percent of the disk usage.
|
||||||
# If the disk usage is greater than the threshold, dfdaemon will do gc.
|
# If the disk usage is greater than the threshold, dfdaemon will do gc.
|
||||||
distHighThresholdPercent: 80
|
distHighThresholdPercent: 80
|
||||||
|
@ -1046,17 +989,10 @@ seedClient:
|
||||||
port: 4004
|
port: 4004
|
||||||
# # ip is the listen ip of the stats server.
|
# # ip is the listen ip of the stats server.
|
||||||
# ip: ""
|
# ip: ""
|
||||||
tracing:
|
# # tracing is the tracing configuration for dfdaemon.
|
||||||
# -- Protocol specifies the communication protocol for the tracing server.
|
# tracing:
|
||||||
# Supported values: "http", "https", "grpc" (default: None).
|
# # addr is the address to report tracing log.
|
||||||
# This determines how tracing logs are transmitted to the server.
|
# addr: ""
|
||||||
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:
|
metrics:
|
||||||
# -- Enable seed client metrics.
|
# -- Enable seed client metrics.
|
||||||
enable: true
|
enable: true
|
||||||
|
@ -1128,7 +1064,7 @@ client:
|
||||||
# -- Image repository.
|
# -- Image repository.
|
||||||
repository: dragonflyoss/client
|
repository: dragonflyoss/client
|
||||||
# -- Image tag.
|
# -- Image tag.
|
||||||
tag: v1.0.9
|
tag: v0.2.23
|
||||||
# -- Image digest.
|
# -- Image digest.
|
||||||
digest: ""
|
digest: ""
|
||||||
# -- Image pull policy.
|
# -- Image pull policy.
|
||||||
|
@ -1165,11 +1101,7 @@ client:
|
||||||
# -- Pod labels.
|
# -- Pod labels.
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
# -- Update strategy for replicas.
|
# -- Update strategy for replicas.
|
||||||
updateStrategy:
|
updateStrategy: {}
|
||||||
type: RollingUpdate
|
|
||||||
rollingUpdate:
|
|
||||||
maxSurge: 0
|
|
||||||
maxUnavailable: 20
|
|
||||||
# -- Statefulset annotations.
|
# -- Statefulset annotations.
|
||||||
statefulsetAnnotations: {}
|
statefulsetAnnotations: {}
|
||||||
initContainer:
|
initContainer:
|
||||||
|
@ -1207,22 +1139,20 @@ client:
|
||||||
dfinit:
|
dfinit:
|
||||||
# -- Enable dfinit to override configuration of container runtime.
|
# -- Enable dfinit to override configuration of container runtime.
|
||||||
enable: false
|
enable: false
|
||||||
# -- 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.
|
|
||||||
restartContainerRuntime: true
|
|
||||||
image:
|
image:
|
||||||
# -- Image registry.
|
# -- Image registry.
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
# -- Image repository.
|
# -- Image repository.
|
||||||
repository: dragonflyoss/dfinit
|
repository: dragonflyoss/dfinit
|
||||||
# -- Image tag.
|
# -- Image tag.
|
||||||
tag: v1.0.9
|
tag: v0.2.23
|
||||||
# -- Image digest.
|
# -- Image digest.
|
||||||
digest: ""
|
digest: ""
|
||||||
# -- Image pull policy.
|
# -- Image pull policy.
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
config:
|
config:
|
||||||
# -- console prints log.
|
# -- verbose prints log.
|
||||||
console: true
|
verbose: true
|
||||||
log:
|
log:
|
||||||
# -- Specify the logging level [trace, debug, info, warn, error]
|
# -- Specify the logging level [trace, debug, info, warn, error]
|
||||||
level: info
|
level: info
|
||||||
|
@ -1290,8 +1220,8 @@ client:
|
||||||
# # Refer to https://docs.docker.com/engine/daemon/proxy/
|
# # Refer to https://docs.docker.com/engine/daemon/proxy/
|
||||||
# configPath: /etc/docker/daemon.json
|
# configPath: /etc/docker/daemon.json
|
||||||
config:
|
config:
|
||||||
# -- console prints log.
|
# -- verbose prints log.
|
||||||
console: true
|
verbose: true
|
||||||
log:
|
log:
|
||||||
# -- Specify the logging level [trace, debug, info, warn, error]
|
# -- Specify the logging level [trace, debug, info, warn, error]
|
||||||
level: info
|
level: info
|
||||||
|
@ -1307,7 +1237,7 @@ client:
|
||||||
# ip: ""
|
# ip: ""
|
||||||
server:
|
server:
|
||||||
# -- pluginDir is the directory to store plugins.
|
# -- pluginDir is the directory to store plugins.
|
||||||
pluginDir: /usr/local/lib/dragonfly/plugins/dfdaemon/
|
pluginDir: /var/lib/dragonfly/plugins/dfdaemon/
|
||||||
# -- cacheDir is the directory to store cache files.
|
# -- cacheDir is the directory to store cache files.
|
||||||
cacheDir: /var/cache/dragonfly/dfdaemon/
|
cacheDir: /var/cache/dragonfly/dfdaemon/
|
||||||
download:
|
download:
|
||||||
|
@ -1319,11 +1249,9 @@ client:
|
||||||
# -- rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s.
|
# -- rateLimit is the default rate limit of the download speed in GiB/Mib/Kib per second, default is 50GiB/s.
|
||||||
rateLimit: 50GiB
|
rateLimit: 50GiB
|
||||||
# -- pieceTimeout is the timeout for downloading a piece from source.
|
# -- pieceTimeout is the timeout for downloading a piece from source.
|
||||||
pieceTimeout: 40s
|
pieceTimeout: 30s
|
||||||
# -- collected_piece_timeout is the timeout for collecting one piece from the parent in the stream.
|
|
||||||
collectedPieceTimeout: 10s
|
|
||||||
# -- concurrentPieceCount is the number of concurrent pieces to download.
|
# -- concurrentPieceCount is the number of concurrent pieces to download.
|
||||||
concurrentPieceCount: 8
|
concurrentPieceCount: 16
|
||||||
upload:
|
upload:
|
||||||
server:
|
server:
|
||||||
# -- port is the port to the grpc server.
|
# -- port is the port to the grpc server.
|
||||||
|
@ -1365,36 +1293,9 @@ client:
|
||||||
# Announcer will provide the scheduler with peer information for scheduling,
|
# Announcer will provide the scheduler with peer information for scheduling,
|
||||||
# peer information includes cpu, memory, etc.
|
# peer information includes cpu, memory, etc.
|
||||||
announceInterval: 5m
|
announceInterval: 5m
|
||||||
# -- scheduleTimeout is timeout for the scheduler to respond to a scheduling request from dfdaemon, default is 3 hours.
|
# -- scheduleTimeout is the timeout for scheduling. If the scheduling timesout, dfdaemon will back-to-source
|
||||||
#
|
# download if enableBackToSource is true, otherwise dfdaemon will return download failed.
|
||||||
# If the scheduler's response time for a scheduling decision exceeds this timeout,
|
scheduleTimeout: 30s
|
||||||
# dfdaemon will encounter a `TokioStreamElapsed(Elapsed(()))` error.
|
|
||||||
#
|
|
||||||
# Behavior upon timeout:
|
|
||||||
# - If `enable_back_to_source` is `true`, dfdaemon will attempt to download directly
|
|
||||||
# from the source.
|
|
||||||
# - Otherwise (if `enable_back_to_source` is `false`), dfdaemon will report a download failure.
|
|
||||||
#
|
|
||||||
# **Important Considerations Regarding Timeout Triggers**:
|
|
||||||
# This timeout isn't solely for the scheduler's direct response. It can also be triggered
|
|
||||||
# if the overall duration of the client's interaction with the scheduler for a task
|
|
||||||
# (e.g., client downloading initial pieces and reporting their status back to the scheduler)
|
|
||||||
# exceeds `schedule_timeout`. During such client-side processing and reporting,
|
|
||||||
# the scheduler might be awaiting these updates before sending its comprehensive
|
|
||||||
# scheduling response, and this entire period is subject to the `schedule_timeout`.
|
|
||||||
#
|
|
||||||
# **Configuration Guidance**:
|
|
||||||
# To prevent premature timeouts, `schedule_timeout` should be configured to a value
|
|
||||||
# greater than the maximum expected time for the *entire scheduling interaction*.
|
|
||||||
# This includes:
|
|
||||||
# 1. The scheduler's own processing and response time.
|
|
||||||
# 2. The time taken by the client to download any initial pieces and download all pieces finished,
|
|
||||||
# as this communication is part of the scheduling phase.
|
|
||||||
#
|
|
||||||
# Setting this value too low can lead to `TokioStreamElapsed` errors even if the
|
|
||||||
# network and scheduler are functioning correctly but the combined interaction time
|
|
||||||
# is longer than the configured timeout.
|
|
||||||
scheduleTimeout: 3h
|
|
||||||
# -- maxScheduleCount is the max count of schedule.
|
# -- maxScheduleCount is the max count of schedule.
|
||||||
maxScheduleCount: 5
|
maxScheduleCount: 5
|
||||||
# -- enableBackToSource indicates whether enable back-to-source download, when the scheduling failed.
|
# -- enableBackToSource indicates whether enable back-to-source download, when the scheduling failed.
|
||||||
|
@ -1417,26 +1318,12 @@ client:
|
||||||
writeBufferSize: 4194304
|
writeBufferSize: 4194304
|
||||||
# -- readBufferSize is the buffer size for reading piece from disk, default is 4MiB.
|
# -- readBufferSize is the buffer size for reading piece from disk, default is 4MiB.
|
||||||
readBufferSize: 4194304
|
readBufferSize: 4194304
|
||||||
# -- writePieceTimeout is the timeout for writing a piece to storage(e.g., disk or cache).
|
|
||||||
writePieceTimeout: 30s
|
|
||||||
gc:
|
gc:
|
||||||
# -- interval is the interval to do gc.
|
# -- interval is the interval to do gc.
|
||||||
interval: 900s
|
interval: 900s
|
||||||
policy:
|
policy:
|
||||||
# -- taskTTL is the ttl of the task.
|
# -- taskTTL is the ttl of the task.
|
||||||
taskTTL: 720h
|
taskTTL: 168h
|
||||||
# # distThreshold optionally defines a specific disk capacity to be used as the base for
|
|
||||||
# # calculating GC trigger points with `distHighThresholdPercent` and `distLowThresholdPercent`.
|
|
||||||
# #
|
|
||||||
# # - If a value is provided (e.g., "500GB"), the percentage-based thresholds (`distHighThresholdPercent`,
|
|
||||||
# # `distLowThresholdPercent`) are applied relative to this specified capacity.
|
|
||||||
# # - If not provided or set to 0 (the default behavior), these percentage-based thresholds are applied
|
|
||||||
# # relative to the total actual disk space.
|
|
||||||
# #
|
|
||||||
# # This allows dfdaemon to effectively manage a logical portion of the disk for its cache,
|
|
||||||
# # rather than always considering the entire disk volume.
|
|
||||||
#
|
|
||||||
# distThreshold: 10TiB
|
|
||||||
# -- distHighThresholdPercent is the high threshold percent of the disk usage.
|
# -- distHighThresholdPercent is the high threshold percent of the disk usage.
|
||||||
# If the disk usage is greater than the threshold, dfdaemon will do gc.
|
# If the disk usage is greater than the threshold, dfdaemon will do gc.
|
||||||
distHighThresholdPercent: 80
|
distHighThresholdPercent: 80
|
||||||
|
@ -1537,17 +1424,10 @@ client:
|
||||||
port: 4004
|
port: 4004
|
||||||
# # ip is the listen ip of the stats server.
|
# # ip is the listen ip of the stats server.
|
||||||
# ip: ""
|
# ip: ""
|
||||||
tracing:
|
# # tracing is the tracing configuration for dfdaemon.
|
||||||
# -- Protocol specifies the communication protocol for the tracing server.
|
# tracing:
|
||||||
# Supported values: "http", "https", "grpc" (default: None).
|
# # addr is the address to report tracing log.
|
||||||
# This determines how tracing logs are transmitted to the server.
|
# addr: ""
|
||||||
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:
|
metrics:
|
||||||
# -- Enable client metrics.
|
# -- Enable client metrics.
|
||||||
enable: true
|
enable: true
|
||||||
|
@ -1672,10 +1552,6 @@ externalRedis:
|
||||||
username: ""
|
username: ""
|
||||||
# -- External redis password.
|
# -- External redis password.
|
||||||
password: ""
|
password: ""
|
||||||
# -- External redis sentinel addresses.
|
|
||||||
sentinelUsername: ""
|
|
||||||
# -- External redis sentinel password.
|
|
||||||
sentinelPassword: ""
|
|
||||||
# -- External redis db.
|
# -- External redis db.
|
||||||
db: 0
|
db: 0
|
||||||
# -- External redis broker db.
|
# -- External redis broker db.
|
||||||
|
|
Loading…
Reference in New Issue