Skip to content

Commit 6dc1c43

Browse files
authored
upgrade dataset to v0.1.8 (#3913)
1 parent d53273b commit 6dc1c43

File tree

6 files changed

+74
-8
lines changed

6 files changed

+74
-8
lines changed

charts/dataset/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export USE_OPENSOURCE_CHART=false
44
export REPO_URL=https://baizeai.github.io/charts
55
export REPO_NAME=dataset
66
export CHART_NAME=dataset
7-
export VERSION=v0.1.7
7+
export VERSION=v0.1.8
88

99
# pr, issue, none
1010
export UPGRADE_METHOD=pr

charts/dataset/dataset/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ appVersion: 1.16.0
33
description: A Helm chart for Kubernetes
44
name: dataset
55
type: application
6-
version: 0.1.7
6+
version: 0.1.8
77
dependencies:
88
- name: dataset
9-
version: "v0.1.7"
9+
version: "v0.1.8"
1010
repository: "https://baizeai.github.io/charts"
1111
annotations:
1212
addon.kpanda.io/release-name: dataset

charts/dataset/dataset/charts/dataset/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: 1.16.0
33
description: A Helm chart for Kubernetes
44
name: dataset
55
type: application
6-
version: 0.1.7
6+
version: 0.1.8

charts/dataset/dataset/charts/dataset/templates/dataset.baizeai.io_datasets.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,66 @@ spec:
8989
format: int64
9090
type: integer
9191
type: object
92+
resources:
93+
description: DataWarmUpResources is the resources required for data
94+
warmUp.
95+
properties:
96+
claims:
97+
description: |-
98+
Claims lists the names of resources, defined in spec.resourceClaims,
99+
that are used by this container.
100+
101+
This field depends on the
102+
DynamicResourceAllocation feature gate.
103+
104+
This field is immutable. It can only be set for containers.
105+
items:
106+
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
107+
properties:
108+
name:
109+
description: |-
110+
Name must match the name of one entry in pod.spec.resourceClaims of
111+
the Pod where this field is used. It makes that resource available
112+
inside a container.
113+
type: string
114+
request:
115+
description: |-
116+
Request is the name chosen for a request in the referenced claim.
117+
If empty, everything from the claim is made available, otherwise
118+
only the result of this request.
119+
type: string
120+
required:
121+
- name
122+
type: object
123+
type: array
124+
x-kubernetes-list-map-keys:
125+
- name
126+
x-kubernetes-list-type: map
127+
limits:
128+
additionalProperties:
129+
anyOf:
130+
- type: integer
131+
- type: string
132+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
133+
x-kubernetes-int-or-string: true
134+
description: |-
135+
Limits describes the maximum amount of compute resources allowed.
136+
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
137+
type: object
138+
requests:
139+
additionalProperties:
140+
anyOf:
141+
- type: integer
142+
- type: string
143+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
144+
x-kubernetes-int-or-string: true
145+
description: |-
146+
Requests describes the minimum amount of compute resources required.
147+
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
148+
otherwise to an implementation-defined value. Requests cannot exceed Limits.
149+
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
150+
type: object
151+
type: object
92152
secretRef:
93153
description: secretRef is the name of the secret that contains credentials
94154
for accessing the dataset source.
@@ -166,6 +226,8 @@ spec:
166226
- HUGGING_FACE: repo, repoType, endpoint, include, exclude, revision
167227
- MODEL_SCOPE: repo, repoType, include, exclude, revision
168228
* Note: syncMode can be "sync" (default) or "copy". "sync" removes files in destination that don't exist in source, "copy" only adds/updates files without removing existing ones.
229+
- DATABASE: type(currently only support MySQL, other database types may be supported in the future.), host, port, dbName, tables(in the dbName), exportFormat(currently only support csv)
230+
- HADOOP: coreSiteXml and hdfsSiteXml, sourcePath, username
169231
type: object
170232
x-kubernetes-preserve-unknown-fields: true
171233
type:
@@ -179,6 +241,8 @@ spec:
179241
- REFERENCE
180242
- HUGGING_FACE
181243
- MODEL_SCOPE
244+
- DATABASE
245+
- HADOOP
182246
type: string
183247
x-kubernetes-validations:
184248
- message: Value is immutable
@@ -196,6 +260,8 @@ spec:
196260
- REFERENCE: dataset://<namespace>/<dataset>
197261
- HUGGING_FACE: huggingface://<repoName>?[repoType=<repoType>]
198262
- MODEL_SCOPE: modelscope://<namespace>/<model>
263+
- DATABASE: database://<ip>:<port>
264+
- HADOOP: hdfs://<ip>:<port>
199265
type: string
200266
x-kubernetes-validations:
201267
- message: Value is immutable

charts/dataset/dataset/charts/dataset/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ controller:
6767
image:
6868
registry: ''
6969
repository: baizeai/dataset-controller
70-
tag: v0.1.7
70+
tag: v0.1.8
7171

7272
dataloader:
7373
image:
7474
registry: ''
7575
repository: baizeai/dataset-data-loader
76-
tag: v0.1.7
76+
tag: v0.1.8

charts/dataset/dataset/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ dataset:
6464
image:
6565
registry: 'ghcr.m.daocloud.io'
6666
repository: baizeai/dataset-controller
67-
tag: v0.1.7
67+
tag: v0.1.8
6868
dataloader:
6969
image:
7070
registry: 'ghcr.m.daocloud.io'
7171
repository: baizeai/dataset-data-loader
72-
tag: v0.1.7
72+
tag: v0.1.8

0 commit comments

Comments
 (0)