Skip to content

Commit

Permalink
docs: Change 2.1.x helm configuration files (#101)
Browse files Browse the repository at this point in the history
* docs: Change 2.1.x helm configuration files

Signed-off-by: zhaoxinxin <[email protected]>

* docs: Change 2.1.x helm configuration files

Signed-off-by: zhaoxinxin <[email protected]>

---------

Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao authored Apr 25, 2024
1 parent bb46f86 commit d983227
Show file tree
Hide file tree
Showing 18 changed files with 258 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ scheduler:
enable: true

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -77,6 +78,7 @@ seedPeer:
enable: true

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,29 @@ containerRuntime:
registries:
- 'https://docker.io'

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

jaeger:
enable: true
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -98,6 +99,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -123,6 +124,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down Expand Up @@ -307,8 +309,9 @@ containerRuntime:
- 'https://ghcr.io'

scheduler:
image: dragonflyoss/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
nodeSelector:
cluster: b
replicas: 1
Expand All @@ -318,8 +321,10 @@ scheduler:
schedulerClusterID: 2

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
nodeSelector:
cluster: b
replicas: 1
Expand All @@ -334,8 +339,10 @@ seedPeer:
clusterID: 2

dfdaemon:
image: dragonflyoss/dfdaemon
tag: latest
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
nodeSelector:
cluster: b
config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@ containerRuntime:
injectConfigPath: true
registries:
- 'https://docker.io'

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
verbose: true
pprofPort: 18066
```
使用配置文件部署 Dragonfly Helm Charts:
Expand Down Expand Up @@ -178,6 +201,29 @@ containerRuntime:
injectConfigPath: true
registries:
- 'https://docker.io'

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
verbose: true
pprofPort: 18066
```
方法 2:更改 containerd 配置文件 `/etc/containerd/config.toml`,详细 containerd 参考文档 [configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint)。
Expand Down Expand Up @@ -223,6 +269,29 @@ containerRuntime:
registries:
- 'https://docker.io'
- 'https://ghcr.io'
seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
config:
verbose: true
pprofPort: 18066
dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
verbose: true
pprofPort: 18066
```

方法 2:更改 containerd 配置文件 `/etc/containerd/config.toml`,参考文档 [registry-configuration-examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples)。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -181,6 +182,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ Hugging Face 的 LFS 服务的地址, 配置如下:

```yaml
scheduler:
image:
repository: dragonflyoss/scheduler
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -94,6 +97,10 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -102,6 +109,10 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
hostNetwork: true
Expand Down Expand Up @@ -133,6 +144,9 @@ dfdaemon:
useHTTPS: true

manager:
image:
repository: dragonflyoss/manager
tag: latest
replicas: 1
metrics:
enable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -121,6 +122,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -107,6 +108,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ scheduler:
enable: true

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -78,6 +79,7 @@ seedPeer:
enable: true

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,29 @@ containerRuntime:
registries:
- 'https://docker.io'

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
verbose: true
pprofPort: 18066

jaeger:
enable: true
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ scheduler:
pprofPort: 18066

seedPeer:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand All @@ -98,6 +99,7 @@ seedPeer:
pprofPort: 18066

dfdaemon:
enable: true
image:
repository: dragonflyoss/dfdaemon
tag: latest
Expand Down
Loading

0 comments on commit d983227

Please sign in to comment.