Skip to content

Commit

Permalink
docs: add insecureSkipVerify for manager config
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao committed Sep 26, 2024
1 parent 2117ef0 commit ec5906b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
15 changes: 15 additions & 0 deletions docs/reference/configuration/client/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ Configure Dfdaemon yaml file, The default path in Linux is `/etc/dragonfly/dfdae
```yaml
# verbose prints log to stdout.
verbose: true

log:
# Specify the logging level [trace, debug, info, warn, error]
level: info

# host is the host configuration for dfdaemon.
host:
## idc is the idc of the host.
Expand All @@ -24,11 +26,13 @@ host:
# hostname: ""
## ip is the advertise ip of the host.
# ip: ""

server:
# pluginDir is the directory to store plugins.
pluginDir: /var/lib/dragonfly/plugins/dfdaemon/
# cacheDir is the directory to store cache files.
cacheDir: /var/cache/dragonfly/dfdaemon/

download:
server:
# socketPath is the unix socket path for dfdaemon GRPC service.
Expand All @@ -39,6 +43,7 @@ download:
pieceTimeout: 30s
# concurrentPieceCount is the number of concurrent pieces to download.
concurrentPieceCount: 10

upload:
server:
# port is the port to the grpc server.
Expand All @@ -49,9 +54,11 @@ upload:
disableShared: false
# rateLimit is the default rate limit of the upload speed in KiB/MiB/GiB per second, default is 10GiB/s.
rateLimit: 10GiB

manager:
# addrs is manager addresses.
addrs: []

scheduler:
# announceInterval is the interval to announce peer to the scheduler.
# Announcer will provide the scheduler with peer information for scheduling,
Expand All @@ -64,6 +71,7 @@ scheduler:
maxScheduleCount: 5
# enableBackToSource indicates whether enable back-to-source download, when the scheduling failed.
enableBackToSource: true

seedPeer:
# enable indicates whether enable seed peer.
enable: true
Expand All @@ -73,9 +81,11 @@ seedPeer:
clusterID: 1
# keepaliveInterval is the interval to keep alive with manager.
keepaliveInterval: 15s

dynconfig:
# refreshInterval is the interval to refresh dynamic configuration from manager.
refreshInterval: 1m

storage:
# dir is the directory to store task's metadata and content.
dir: /var/lib/dragonfly/
Expand All @@ -85,6 +95,7 @@ storage:
writeBufferSize: 131072
# readBufferSize is the buffer size for reading piece from disk, default is 128KB.
readBufferSize: 131072

gc:
# interval is the interval to do gc.
interval: 900s
Expand All @@ -97,6 +108,7 @@ gc:
# distLowThresholdPercent is the low threshold percent of the disk usage.
# If the disk usage is less than the threshold, dfdaemon will stop gc.
distLowThresholdPercent: 60

proxy:
server:
# port is the port to the proxy server.
Expand Down Expand Up @@ -154,15 +166,18 @@ proxy:
prefetch: false
# readBufferSize is the buffer size for reading piece from disk, default is 32KB.
readBufferSize: 32768

security:
# enable indicates whether enable security.
enable: false

metrics:
server:
# port is the port to the metrics server.
port: 4002
## ip is the listen ip of the metrics server.
# ip: ""

## tracing is the tracing configuration for dfdaemon.
# tracing:
## addr is the address to report tracing log.
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/configuration/manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ job:
preheat:
# registryTimeout is the timeout for requesting registry to get token and manifest.
registryTimeout: 1m
# insecureSkipVerify controls whether a client verifies the server's certificate chain and hostname.
insecureSkipVerify: false
# tls:
# # caCert is the CA certificate for preheat tls handshake, it can be path or PEM format string.
# caCert: ''
Expand Down
11 changes: 0 additions & 11 deletions docs/reference/configuration/scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,6 @@ networkTopology:
# count is the number of probing hosts.
count: 10

# Trainer service configuration.
trainer:
# enable trainer service.
enable: false
# addr is trainer service address.
addr: trainer-service:9090
# interval is the interval of training.
interval: 168h
# uploadTimeout is the timeout of uploading dataset to trainer.
uploadTimeout: 1h

# Store task download information.
storage:
# maxSize sets the maximum size in megabytes of storage file.
Expand Down

0 comments on commit ec5906b

Please sign in to comment.