Skip to content

Commit

Permalink
docs: change all values.yaml configuration (#91)
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao authored Apr 11, 2024
1 parent d841bdc commit 5388fbe
Show file tree
Hide file tree
Showing 15 changed files with 166 additions and 136 deletions.
20 changes: 12 additions & 8 deletions docs/concepts/observability/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,32 +60,36 @@ helm repo update

```yaml
scheduler:
image: d7yio/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

seedPeer:
image: d7yio/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

dfdaemon:
image: d7yio/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

manager:
image: d7yio/manager
tag: latest
image:
repository: dragonflyoss/manager
tag: latest
metrics:
enable: true
serviceMonitor:
Expand Down
1 change: 0 additions & 1 deletion docs/getting-started/installation/helm-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ NOTES:

3. Configure runtime to use dragonfly:
https://d7y.io/docs/getting-started/quick-start/kubernetes/


4. Get Jaeger query URL by running these commands:
export JAEGER_QUERY_PORT=$(kubectl --namespace dragonfly-system get services dragonfly-jaeger-query -o jsonpath="{.spec.ports[0].port}")
Expand Down
30 changes: 17 additions & 13 deletions docs/getting-started/quick-start/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Documentation for deploying Dragonfly on kubernetes using helm.
You can have a quick start following [Helm Charts](../installation/helm-charts.md).
We recommend to use `containerd`.

| Runtime | Version | Document |
| ----------------------- | ------- | ------------------------------------------------ |
| containerd | v1.1.0+ | [Link](../../operations/integrations/container-runtime/containerd.md) |
| Docker | v20.0.1+| [Link](../../operations/integrations/container-runtime/docker.md) |
| CRI-O | All | [Link](../../operations/integrations/container-runtime/cri-o.md) |
| Runtime | Version | Document |
| ---------- | -------- | --------------------------------------------------------------------- |
| containerd | v1.1.0+ | [Link](../../operations/integrations/container-runtime/containerd.md) |
| Docker | v20.0.1+ | [Link](../../operations/integrations/container-runtime/docker.md) |
| CRI-O | All | [Link](../../operations/integrations/container-runtime/cri-o.md) |

## Setup kubernetes cluster {#setup-kubernetes-cluster}

Expand Down Expand Up @@ -76,8 +76,9 @@ containerRuntime:
- 'https://ghcr.io'

scheduler:
image: dragonflyoss/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -86,8 +87,9 @@ scheduler:
pprofPort: 18066

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -96,17 +98,19 @@ seedPeer:
pprofPort: 18066

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

manager:
image: dragonflyoss/manager
tag: latest
image:
repository: dragonflyoss/manager
tag: latest
replicas: 1
metrics:
enable: true
Expand Down
38 changes: 17 additions & 21 deletions docs/getting-started/quick-start/multi-cluster-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ and internal peers can only schedule and transmit data in a kubernetes cluster.
You can have a quick start following [Helm Charts](../installation/helm-charts.md).
We recommend to use `containerd`.

| Runtime | Version | Document |
| ----------------------- | ------- | ------------------------------------------------ |
| containerd | v1.1.0+ | [Link](../../operations/integrations/container-runtime/containerd.md) |
| Docker | v20.0.1+| [Link](../../operations/integrations/container-runtime/docker.md) |
| CRI-O | All | [Link](../../operations/integrations/container-runtime/cri-o.md) |
| Runtime | Version | Document |
| ---------- | -------- | --------------------------------------------------------------------- |
| containerd | v1.1.0+ | [Link](../../operations/integrations/container-runtime/containerd.md) |
| Docker | v20.0.1+ | [Link](../../operations/integrations/container-runtime/docker.md) |
| CRI-O | All | [Link](../../operations/integrations/container-runtime/cri-o.md) |

## Setup kubernetes cluster

Expand Down Expand Up @@ -102,10 +102,9 @@ containerRuntime:
- 'https://ghcr.io'

scheduler:
image: dragonflyoss/scheduler
tag: latest
nodeSelector:
cluster: a
image:
repository: dragonflyoss/scheduler
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -114,10 +113,9 @@ scheduler:
pprofPort: 18066

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
nodeSelector:
cluster: a
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -126,21 +124,19 @@ seedPeer:
pprofPort: 18066

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

manager:
image: dragonflyoss/manager
tag: latest
nodeSelector:
cluster: a
image:
repository: dragonflyoss/manager
tag: latest
replicas: 1
metrics:
enable: true
Expand Down
20 changes: 12 additions & 8 deletions docs/operations/integrations/git-lfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ filter the query parameters to generate a unique task id. Configuration content

```yaml
scheduler:
image: dragonflyoss/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -177,8 +178,9 @@ scheduler:
pprofPort: 18066

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -187,8 +189,9 @@ seedPeer:
pprofPort: 18066

dfdaemon:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
Expand All @@ -214,8 +217,9 @@ dfdaemon:
- regx: github-cloud.githubusercontent.com.*

manager:
image: dragonflyoss/manager
tag: latest
image:
repository: dragonflyoss/manager
tag: latest
replicas: 1
metrics:
enable: true
Expand Down
20 changes: 12 additions & 8 deletions docs/operations/integrations/torchserve.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ match the download path of the object storage, configuration content is as follo

```yaml
scheduler:
image: dragonflyoss/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -111,8 +112,9 @@ scheduler:
pprofPort: 18066

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -121,8 +123,9 @@ seedPeer:
pprofPort: 18066

dfdaemon:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
Expand All @@ -148,8 +151,9 @@ dfdaemon:
- regx: .*amazonaws.*

manager:
image: dragonflyoss/manager
tag: latest
image:
repository: dragonflyoss/manager
tag: latest
replicas: 1
metrics:
enable: true
Expand Down
20 changes: 12 additions & 8 deletions docs/operations/integrations/triton-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ Configuration content is as follows:

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

seedPeer:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
replicas: 1
metrics:
enable: true
Expand All @@ -106,8 +108,9 @@ seedPeer:
pprofPort: 18066

dfdaemon:
image: dragonflyoss/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
config:
Expand Down Expand Up @@ -135,8 +138,9 @@ dfdaemon:
- regx: .*models.*

manager:
image: dragonflyoss/manager
tag: latest
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 @@ -59,32 +59,36 @@ helm repo update

```yaml
scheduler:
image: d7yio/scheduler
tag: latest
image:
repository: dragonflyoss/scheduler
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

seedPeer:
image: d7yio/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

dfdaemon:
image: d7yio/dfdaemon
tag: latest
image:
repository: dragonflyoss/dfdaemon
tag: latest
metrics:
enable: true
serviceMonitor:
enable: true

manager:
image: d7yio/manager
tag: latest
image:
repository: dragonflyoss/manager
tag: latest
metrics:
enable: true
serviceMonitor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ slug: /getting-started/installation/helm-charts/

## 环境准备

| 所需软件 | 版本要求 | 文档 |
| 所需软件 | 版本要求 | 文档 |
| ------------------ | -------- | --------------------------------------- |
| Kubernetes cluster | 1.19+ | [kubernetes.io](https://kubernetes.io/) |
| Helm | v3.8.0+ | [helm.sh](https://helm.sh/) |
Expand Down Expand Up @@ -113,7 +113,6 @@ NOTES:
echo "Visit http://127.0.0.1:16686/search?limit=20&lookback=1h&maxDuration&minDuration&service=dragonfly to query download events"
```
检查 Dragonfly 是否部署成功:
```shell
Expand Down
Loading

0 comments on commit 5388fbe

Please sign in to comment.