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
0 commit comments