Skip to content

Commit

Permalink
ship it
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Oct 31, 2024
1 parent 62ba409 commit d0d0b92
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ namespace: redhat-ods-applications

resources:
- datasciencecluster.yaml
# - dsc-init.yaml
- dsc-init.yaml
- namespace.yaml
- odhdashboardconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ metadata:
annotations:
argocd.argoproj.io/sync-options: ServerSideApply=true
name: odh-dashboard-config
spec:
# bug: if this is missing the dashboard loses it's mind
# https://issues.redhat.com/browse/RHOAIENG-15245
dashboardConfig:
disableBiasMetrics: true
disableKServe: false
disableModelMesh: false
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# fix-dashboard-bugs
# fix-dashboard-magic

## Purpose

Expand All @@ -16,5 +16,5 @@ resources:
- ../../base

components:
- ../../components/fix-dashboard-bugs
- ../../components/fix-dashboard-magic
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: fix-dashboard-bugs
name: fix-dashboard-magic
namespace: redhat-ods-applications
annotations:
argocd.argoproj.io/hook: PreSync
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: fix-dashboard-bugs
name: fix-dashboard-magic
namespace: redhat-ods-applications
annotations:
argocd.argoproj.io/hook: PreSync
Expand Down Expand Up @@ -38,23 +38,23 @@ rules:
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: fix-dashboard-bugs
name: fix-dashboard-magic
namespace: redhat-ods-applications
annotations:
argocd.argoproj.io/hook: PreSync
subjects:
- kind: ServiceAccount
name: fix-dashboard-bugs
name: fix-dashboard-magic
namespace: redhat-ods-applications
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: fix-dashboard-bugs
name: fix-dashboard-magic
---
apiVersion: batch/v1
kind: Job
metadata:
name: fix-dashboard-bugs
name: fix-dashboard-magic
namespace: redhat-ods-applications
annotations:
argocd.argoproj.io/hook: PreSync
Expand All @@ -75,9 +75,9 @@ spec:
volumes:
- name: scripts
configMap:
name: fix-dashboard-bugs
name: fix-dashboard-magic
defaultMode: 0755
restartPolicy: Never
serviceAccount: fix-dashboard-bugs
serviceAccountName: fix-dashboard-bugs
serviceAccount: fix-dashboard-magic
serviceAccountName: fix-dashboard-magic
backoffLimit: 4
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generatorOptions:
argocd.argoproj.io/hook: PreSync

configMapGenerator:
- name: fix-dashboard-bugs
- name: fix-dashboard-magic
namespace: redhat-ods-applications
files:
- job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ objects:
- apiVersion: serving.kserve.io/v1alpha1
kind: ServingRuntime
metadata:
name: triton-23.05
name: triton-23.10
labels:
name: triton-23.05
name: triton-23.10
annotations:
maxLoadingConcurrency: '2'
openshift.io/display-name: Triton runtime 23.05
openshift.io/display-name: Triton runtime 23.10
spec:
supportedModelFormats:
- name: keras
Expand Down Expand Up @@ -50,7 +50,7 @@ objects:
sizeLimit: 2Gi
containers:
- name: triton
image: 'nvcr.io/nvidia/tritonserver:23.05-py3'
image: 'nvcr.io/nvidia/tritonserver:23.10-py3'
command:
- /bin/sh
args:
Expand Down

0 comments on commit d0d0b92

Please sign in to comment.