Skip to content

Commit

Permalink
feat(lmeval): Add overlay for Kueue support (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira authored Nov 15, 2024
1 parent 8f3b5c5 commit 21d5034
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/overlays/odh-kueue/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

patchesStrategicMerge:
- patch.yaml

configMapGenerator:
- env: params.env
behavior: merge
name: config
11 changes: 11 additions & 0 deletions config/overlays/odh-kueue/params.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
trustyaiServiceImage=quay.io/trustyai/trustyai-service:latest
trustyaiOperatorImage=quay.io/trustyai/trustyai-service-operator:latest
oauthProxyImage=quay.io/openshift/origin-oauth-proxy:4.14.0
kServeServerless=enabled
lmes-driver-image=quay.io/trustyai/ta-lmes-driver:latest
lmes-pod-image=quay.io/trustyai/ta-lmes-job:latest
lmes-pod-checking-interval=10s
lmes-image-pull-policy=Always
lmes-max-batch-size=24
lmes-default-batch-size=8
lmes-detect-device=true
14 changes: 14 additions & 0 deletions config/overlays/odh-kueue/patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
containers:
- name: manager
args:
- --leader-elect
- --enable-services
- "TAS,LMES,JOB_MGR"

0 comments on commit 21d5034

Please sign in to comment.