Skip to content

Commit 26fc42b

Browse files
committed
Merge branch 'develop' of https://github.com/AI-Hypercomputer/xpk into develop
2 parents 674d7b6 + e39a7a7 commit 26fc42b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/xpk/core/kueue.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
- --zap-log-level=2
221221
command:
222222
- /manager
223-
image: registry.k8s.io/kueue/kueue:v0.12.2
223+
image: registry.k8s.io/kueue/kueue:{KUEUE_VERSION}
224224
imagePullPolicy: Always
225225
livenessProbe:
226226
httpGet:
@@ -258,17 +258,6 @@
258258
- mountPath: /controller_manager_config.yaml
259259
name: manager-config
260260
subPath: controller_manager_config.yaml
261-
- args:
262-
- --secure-listen-address=0.0.0.0:8443
263-
- --upstream=http://127.0.0.1:8080/
264-
- --logtostderr=true
265-
- --v=10
266-
image: registry.k8s.io/kubebuilder/kube-rbac-proxy:v0.16.0
267-
name: kube-rbac-proxy
268-
ports:
269-
- containerPort: 8443
270-
name: https
271-
protocol: TCP
272261
securityContext:
273262
runAsNonRoot: true
274263
serviceAccountName: kueue-controller-manager
@@ -536,7 +525,7 @@ def update_kueue_resources_if_necessary(args):
536525
f'{max(math.ceil(int(out) * MEMORY_SIZE_PER_VM), MIN_MEMORY_LIMIT_SIZE)}Mi'
537526
)
538527
yml_string = kueue_controller_manager_yml.format(
539-
memory_limit_size=new_memory_limit,
528+
memory_limit_size=new_memory_limit, KUEUE_VERSION=KUEUE_VERSION
540529
)
541530
tmp = write_tmp_file(yml_string)
542531
command = f'kubectl apply -f {str(tmp.file.name)}'

0 commit comments

Comments
 (0)