@@ -179,11 +179,9 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.cluster</code></h1>
179
179
template = self.config.template
180
180
image = self.config.image
181
181
appwrapper = self.config.appwrapper
182
- instance_types = self.config.machine_types
183
182
env = self.config.envs
184
183
image_pull_secrets = self.config.image_pull_secrets
185
184
write_to_file = self.config.write_to_file
186
- verify_tls = self.config.verify_tls
187
185
local_queue = self.config.local_queue
188
186
labels = self.config.labels
189
187
return generate_appwrapper(
@@ -201,20 +199,18 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.cluster</code></h1>
201
199
template=template,
202
200
image=image,
203
201
appwrapper=appwrapper,
204
- instance_types=instance_types,
205
202
env=env,
206
203
image_pull_secrets=image_pull_secrets,
207
204
write_to_file=write_to_file,
208
- verify_tls=verify_tls,
209
205
local_queue=local_queue,
210
206
labels=labels,
211
207
)
212
208
213
209
# creates a new cluster with the provided or default spec
214
210
def up(self):
215
211
"""
216
- Applies the AppWrapper yaml, pushing the resource request onto
217
- the MCAD queue .
212
+ Applies the Cluster yaml, pushing the resource request onto
213
+ the Kueue localqueue .
218
214
"""
219
215
220
216
# check if RayCluster CustomResourceDefinition exists if not throw RuntimeError
@@ -1229,11 +1225,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
1229
1225
template = self.config.template
1230
1226
image = self.config.image
1231
1227
appwrapper = self.config.appwrapper
1232
- instance_types = self.config.machine_types
1233
1228
env = self.config.envs
1234
1229
image_pull_secrets = self.config.image_pull_secrets
1235
1230
write_to_file = self.config.write_to_file
1236
- verify_tls = self.config.verify_tls
1237
1231
local_queue = self.config.local_queue
1238
1232
labels = self.config.labels
1239
1233
return generate_appwrapper(
@@ -1251,20 +1245,18 @@ <h2 class="section-title" id="header-classes">Classes</h2>
1251
1245
template=template,
1252
1246
image=image,
1253
1247
appwrapper=appwrapper,
1254
- instance_types=instance_types,
1255
1248
env=env,
1256
1249
image_pull_secrets=image_pull_secrets,
1257
1250
write_to_file=write_to_file,
1258
- verify_tls=verify_tls,
1259
1251
local_queue=local_queue,
1260
1252
labels=labels,
1261
1253
)
1262
1254
1263
1255
# creates a new cluster with the provided or default spec
1264
1256
def up(self):
1265
1257
"""
1266
- Applies the AppWrapper yaml, pushing the resource request onto
1267
- the MCAD queue .
1258
+ Applies the Cluster yaml, pushing the resource request onto
1259
+ the Kueue localqueue .
1268
1260
"""
1269
1261
1270
1262
# check if RayCluster CustomResourceDefinition exists if not throw RuntimeError
@@ -1776,11 +1768,9 @@ <h3>Methods</h3>
1776
1768
template = self.config.template
1777
1769
image = self.config.image
1778
1770
appwrapper = self.config.appwrapper
1779
- instance_types = self.config.machine_types
1780
1771
env = self.config.envs
1781
1772
image_pull_secrets = self.config.image_pull_secrets
1782
1773
write_to_file = self.config.write_to_file
1783
- verify_tls = self.config.verify_tls
1784
1774
local_queue = self.config.local_queue
1785
1775
labels = self.config.labels
1786
1776
return generate_appwrapper(
@@ -1798,11 +1788,9 @@ <h3>Methods</h3>
1798
1788
template=template,
1799
1789
image=image,
1800
1790
appwrapper=appwrapper,
1801
- instance_types=instance_types,
1802
1791
env=env,
1803
1792
image_pull_secrets=image_pull_secrets,
1804
1793
write_to_file=write_to_file,
1805
- verify_tls=verify_tls,
1806
1794
local_queue=local_queue,
1807
1795
labels=labels,
1808
1796
)</ code > </ pre >
@@ -1974,7 +1962,7 @@ <h3>Methods</h3>
1974
1962
</ details >
1975
1963
</ dd >
1976
1964
< dt id ="codeflare_sdk.cluster.cluster.Cluster.list_jobs "> < code class ="name flex ">
1977
- < span > def < span class ="ident "> list_jobs</ span > </ span > (< span > self) ‑> List[~T] </ span >
1965
+ < span > def < span class ="ident "> list_jobs</ span > </ span > (< span > self) ‑> List</ span >
1978
1966
</ code > </ dt >
1979
1967
< dd >
1980
1968
< div class ="desc "> < p > This method accesses the head ray node in your cluster and lists the running jobs.</ p > </ div >
@@ -2090,16 +2078,16 @@ <h3>Methods</h3>
2090
2078
< span > def < span class ="ident "> up</ span > </ span > (< span > self)</ span >
2091
2079
</ code > </ dt >
2092
2080
< dd >
2093
- < div class ="desc "> < p > Applies the AppWrapper yaml, pushing the resource request onto
2094
- the MCAD queue .</ p > </ div >
2081
+ < div class ="desc "> < p > Applies the Cluster yaml, pushing the resource request onto
2082
+ the Kueue localqueue .</ p > </ div >
2095
2083
< details class ="source ">
2096
2084
< summary >
2097
2085
< span > Expand source code</ span >
2098
2086
</ summary >
2099
2087
< pre > < code class ="python "> def up(self):
2100
2088
"""
2101
- Applies the AppWrapper yaml, pushing the resource request onto
2102
- the MCAD queue .
2089
+ Applies the Cluster yaml, pushing the resource request onto
2090
+ the Kueue localqueue .
2103
2091
"""
2104
2092
2105
2093
# check if RayCluster CustomResourceDefinition exists if not throw RuntimeError
0 commit comments