Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change structure of the metrics config in client #228

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/docs/images/logo/dragonfly.svg
type: application
version: 1.1.23
appVersion: 2.1.29
version: 1.1.24
appVersion: 2.1.30
keywords:
- dragonfly
- d7y
Expand All @@ -26,9 +26,9 @@ sources:

annotations:
artifacthub.io/changes: |
- Change default value of retry in scheduler
- Update dragonfly image tag to v2.1.29.
- Update client image tag to v0.1.12.
- Change structure of the metrics config in client.
- Update dragonfly image tag to v2.1.30.
- Update client image tag to v0.1.13.

artifacthub.io/links: |
- name: Chart Source
Expand All @@ -37,17 +37,17 @@ annotations:
url: https://github.com/dragonflyoss/Dragonfly2
artifacthub.io/images: |
- name: manager
image: dragonflyoss/manager:v2.1.29
image: dragonflyoss/manager:v2.1.30
- name: scheduler
image: dragonflyoss/scheduler:v2.1.29
image: dragonflyoss/scheduler:v2.1.30
- name: client
image: dragonflyoss/client:v0.1.12
image: dragonflyoss/client:v0.1.13
- name: seed-client
image: dragonflyoss/client:v0.1.12
image: dragonflyoss/client:v0.1.13
- name: dfdaemon
image: dragonflyoss/dfdaemon:v2.1.29
image: dragonflyoss/dfdaemon:v2.1.30
- name: trainer
image: dragonflyoss/scheduler:v2.1.29
image: dragonflyoss/scheduler:v2.1.30
- name: triton
image: nvcr.io/nvidia/tritonserver:23.06-py3

Expand Down
18 changes: 9 additions & 9 deletions charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ helm delete dragonfly --namespace dragonfly-system
| 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.manager.addrs | list | `[]` | addrs is manager addresses. |
| client.config.metrics.port | int | `4001` | port is the port to the metrics server. |
| client.config.metrics.server.port | int | `4002` | port is the port to the metrics server. |
| client.config.proxy.enable | bool | `true` | enable indicates whether enable proxy. |
| 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. |
Expand Down Expand Up @@ -184,7 +184,7 @@ helm delete dragonfly --namespace dragonfly-system
| client.replicas | int | `3` | Number of Pods to launch. |
| client.resources | object | `{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits. |
| client.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
| client.tag | string | `"v0.1.12"` | Image tag. |
| client.tag | string | `"v0.1.13"` | Image tag. |
| client.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| client.tolerations | list | `[]` | List of node taints to tolerate. |
| clusterDomain | string | `"cluster.local"` | Install application cluster domain. |
Expand Down Expand Up @@ -306,7 +306,7 @@ helm delete dragonfly --namespace dragonfly-system
| dfdaemon.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| dfdaemon.pullSecrets | list | `[]` (defaults to global.imagePullSecrets). | Image pull secrets. |
| dfdaemon.resources | object | `{"limits":{"cpu":"2","memory":"2Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits. |
| dfdaemon.tag | string | `"v2.1.29"` | Image tag. |
| dfdaemon.tag | string | `"v2.1.30"` | Image tag. |
| dfdaemon.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| dfdaemon.tolerations | list | `[]` | List of node taints to tolerate. |
| externalManager.grpcPort | int | `65003` | External GRPC service port. |
Expand Down Expand Up @@ -416,7 +416,7 @@ helm delete dragonfly --namespace dragonfly-system
| manager.service.annotations | object | `{}` | Service annotations. |
| manager.service.labels | object | `{}` | Service labels. |
| manager.service.type | string | `"ClusterIP"` | Service type. |
| manager.tag | string | `"v2.1.29"` | Image tag. |
| manager.tag | string | `"v2.1.30"` | Image tag. |
| manager.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| manager.tolerations | list | `[]` | List of node taints to tolerate. |
| mysql.auth.database | string | `"manager"` | Mysql database name. |
Expand Down Expand Up @@ -520,7 +520,7 @@ helm delete dragonfly --namespace dragonfly-system
| scheduler.service.labels | object | `{}` | Service labels. |
| scheduler.service.type | string | `"ClusterIP"` | Service type. |
| scheduler.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
| scheduler.tag | string | `"v2.1.29"` | Image tag. |
| scheduler.tag | string | `"v2.1.30"` | Image tag. |
| scheduler.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| scheduler.tolerations | list | `[]` | List of node taints to tolerate. |
| seedClient.config.download.concurrentPieceCount | int | `10` | concurrentPieceCount is the number of concurrent pieces to download. |
Expand All @@ -534,7 +534,7 @@ helm delete dragonfly --namespace dragonfly-system
| 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.manager.addrs | list | `[]` | addrs is manager addresses. |
| seedClient.config.metrics.port | int | `4001` | port is the port to the metrics server. |
| seedClient.config.metrics.server.port | int | `4002` | port is the port to the metrics server. |
| seedClient.config.proxy.enable | bool | `true` | enable indicates whether enable proxy. |
| 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.enableBackToSource | bool | `true` | enableBackToSource indicates whether enable back-to-source download, when the scheduling failed. |
Expand Down Expand Up @@ -586,7 +586,7 @@ helm delete dragonfly --namespace dragonfly-system
| seedClient.replicas | int | `3` | Number of Pods to launch. |
| seedClient.resources | object | `{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits. |
| seedClient.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
| seedClient.tag | string | `"v0.1.12"` | Image tag. |
| seedClient.tag | string | `"v0.1.13"` | Image tag. |
| seedClient.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| seedClient.tolerations | list | `[]` | List of node taints to tolerate. |
| seedPeer.config.aliveTime | string | `"0s"` | Daemon alive time, when sets 0s, daemon will not auto exit, it is useful for longtime running. |
Expand Down Expand Up @@ -688,7 +688,7 @@ helm delete dragonfly --namespace dragonfly-system
| seedPeer.replicas | int | `3` | Number of Pods to launch. |
| seedPeer.resources | object | `{"limits":{"cpu":"2","memory":"4Gi"},"requests":{"cpu":"0","memory":"0"}}` | Pod resource requests and limits. |
| seedPeer.statefulsetAnnotations | object | `{}` | Statefulset annotations. |
| seedPeer.tag | string | `"v2.1.29"` | Image tag. |
| seedPeer.tag | string | `"v2.1.30"` | Image tag. |
| seedPeer.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| seedPeer.tolerations | list | `[]` | List of node taints to tolerate. |
| trainer.config.console | bool | `false` | Console shows log on console. |
Expand Down Expand Up @@ -747,7 +747,7 @@ helm delete dragonfly --namespace dragonfly-system
| trainer.service.annotations | object | `{}` | Service annotations. |
| trainer.service.labels | object | `{}` | Service labels. |
| trainer.service.type | string | `"ClusterIP"` | Service type. |
| trainer.tag | string | `"v2.1.29"` | Image tag. |
| trainer.tag | string | `"v2.1.30"` | Image tag. |
| trainer.terminationGracePeriodSeconds | string | `nil` | Pod terminationGracePeriodSeconds. |
| trainer.tolerations | list | `[]` | List of node taints to tolerate. |
| triton.aws | object | `{"accessKeyID":"","region":"","secretAccessKey":""}` | Credentials information. |
Expand Down
32 changes: 17 additions & 15 deletions charts/dragonfly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ manager:
# -- Image repository.
image: dragonflyoss/manager
# -- Image tag.
tag: v2.1.29
tag: v2.1.30
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -418,7 +418,7 @@ scheduler:
# -- Image repository.
image: dragonflyoss/scheduler
# -- Image tag.
tag: v2.1.29
tag: v2.1.30
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -791,7 +791,7 @@ seedClient:
# -- Image repository.
image: dragonflyoss/client
# -- Image tag.
tag: v0.1.12
tag: v0.1.13
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -938,10 +938,11 @@ seedClient:
# -- enable indicates whether enable security.
enable: false
metrics:
# -- port is the port to the metrics server.
port: 4001
## ip is the listen ip of the metrics server.
# ip: ""
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 Expand Up @@ -992,7 +993,7 @@ client:
# -- Image repository.
image: dragonflyoss/client
# -- Image tag.
tag: v0.1.12
tag: v0.1.13
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -1112,10 +1113,11 @@ client:
# -- enable indicates whether enable security.
enable: false
metrics:
# -- port is the port to the metrics server.
port: 4001
## ip is the listen ip of the metrics server.
# ip: ""
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 Expand Up @@ -1166,7 +1168,7 @@ seedPeer:
# -- Image repository.
image: dragonflyoss/dfdaemon
# -- Image tag.
tag: v2.1.29
tag: v2.1.30
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -1512,7 +1514,7 @@ dfdaemon:
# -- Image repository.
image: dragonflyoss/dfdaemon
# -- Image tag.
tag: v2.1.29
tag: v2.1.30
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down Expand Up @@ -1946,7 +1948,7 @@ trainer:
# -- Image repository.
image: dragonflyoss/trainer
# -- Image tag.
tag: v2.1.29
tag: v2.1.30
# -- Image pull policy.
pullPolicy: IfNotPresent
# -- Image pull secrets.
Expand Down
Loading