Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ metadata:
spec:
dashboardConfig:
disableHardwareProfiles: false
disableAcceleratorProfiles: true
notebookSizes: []
modelServerSizes: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# hardware-profiles-2.22-cpu

> [!WARNING]
> Hardware profiles in 2.22 utilize the `dashboard.opendatahub.io/v1alpha1` API version and 2.23+ migrated to `infrastructure.opendatahub.io/v1alpha1`.

## Purpose
This component is designed help admins configure a hardware profile with cpu.

For more information on accelerators, please see the [Working with hardware profiles](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2-latest/html/working_with_accelerators/working-with-hardware-profiles_accelerators#working-with-hardware-profiles_accelerators) documentation.

## Usage

This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file:

```
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

components:
- ../../components/hardware-profiles-2.22-cpu
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: dashboard.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["model-serving","pipelines"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: default
name: default-serving
spec:
description: ''
displayName: default
enabled: true
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "4"
minCount: "1"
maxCount: "32"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 64Gi
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: dashboard.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["workbench"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: default
name: default-notebooks
spec:
description: ''
displayName: default
enabled: true
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "2"
minCount: "1"
maxCount: "8"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 32Gi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

namespace: redhat-ods-applications

resources:
- hardware-profile-serving.yaml
- hardware-profile-workbench.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# hardware-profiles-nvidia-gpu

> [!WARNING]
> Hardware profiles in 2.22 utilize the `dashboard.opendatahub.io/v1alpha1` API version and 2.23+ migrated to `infrastructure.opendatahub.io/v1alpha1`.

## Purpose
This component is designed help admins configure a hardware profile with NVIDIA GPUs.

For more information on accelerators, please see the [Working with hardware profiles](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2-latest/html/working_with_accelerators/working-with-hardware-profiles_accelerators#working-with-hardware-profiles_accelerators) documentation.

## Usage

This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file:

```
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

components:
- ../../components/hardware-profiles-2.22-nvidia-gpu
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: dashboard.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["model-serving","pipelines"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: nvidia-gpu
name: nvidia-gpu-serving
spec:
description: ''
displayName: nvidia-gpu
enabled: true
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "4"
minCount: "1"
maxCount: "32"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 120Gi
- identifier: nvidia.com/gpu
displayName: nvidia.com/gpu
defaultCount: 1
minCount: 1
maxCount: 8
tolerations:
- effect: NoSchedule
key: nvidia-gpu-only
operator: Exists
value: ""
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
value: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: dashboard.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["workbench"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: nvidia-gpu
name: nvidia-gpu-notebooks
spec:
description: ''
displayName: nvidia-gpu
enabled: true
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "1"
minCount: "1"
maxCount: "8"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 32Gi
- identifier: nvidia.com/gpu
displayName: nvidia.com/gpu
defaultCount: 1
minCount: 1
maxCount: 1
tolerations:
- effect: NoSchedule
key: nvidia-gpu-only
operator: Exists
value: ""
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
value: ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

namespace: redhat-ods-applications

resources:
- hardware-profile-serving.yaml
- hardware-profile-workbench.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# hardware-profiles-cpu

> [!WARNING]
> Hardware profiles in 2.22 utilize the `dashboard.opendatahub.io/v1alpha1` API version and 2.23+ migrated to `infrastructure.opendatahub.io/v1alpha1`.

## Purpose
This component is designed help admins configure a hardware profile with cpu.

For more information on accelerators, please see the [Working with hardware profiles](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2-latest/html/working_with_accelerators/working-with-hardware-profiles_accelerators#working-with-hardware-profiles_accelerators) documentation.

## Usage

This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file:

```
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

components:
- ../../components/hardware-profiles-cpu
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: infrastructure.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["model-serving","pipelines"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: default
name: default-serving
spec:
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "4"
minCount: "1"
maxCount: "32"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 64Gi
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: infrastructure.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["workbench"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: default
name: default-notebooks
spec:
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "2"
minCount: "1"
maxCount: "8"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 32Gi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

namespace: redhat-ods-applications

resources:
- hardware-profile-serving.yaml
- hardware-profile-workbench.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# nvidia-gpu-hardware-profile
# hardware-profiles-nvidia-gpu

> [!WARNING]
> Hardware profiles in 2.22 utilize the `dashboard.opendatahub.io/v1alpha1` API version and 2.23+ migrated to `infrastructure.opendatahub.io/v1alpha1`.

## Purpose
This component is designed help admins configure a hardware profile with NVIDIA GPUs.
Expand All @@ -17,5 +20,5 @@ resources:
- ../../base

components:
- ../../components/nvidia-gpu-hardware-profile
- ../../components/hardware-profiles-nvidia-gpu
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: infrastructure.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["model-serving","pipelines"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: nvidia-gpu
name: nvidia-gpu-serving
spec:
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "4"
minCount: "1"
maxCount: "32"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 120Gi
- identifier: nvidia.com/gpu
displayName: nvidia.com/gpu
defaultCount: 1
minCount: 1
maxCount: 8
scheduling:
node:
tolerations:
- effect: NoSchedule
key: nvidia-gpu-only
operator: Exists
value: ""
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
value: ""
type: Node
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: infrastructure.opendatahub.io/v1alpha1
kind: HardwareProfile
metadata:
annotations:
opendatahub.io/dashboard-feature-visibility: '["workbench"]'
opendatahub.io/description: ""
opendatahub.io/disabled: "false"
opendatahub.io/display-name: nvidia-gpu
name: nvidia-gpu-notebooks
spec:
identifiers:
- identifier: cpu
displayName: CPU
resourceType: CPU
defaultCount: "1"
minCount: "1"
maxCount: "8"
- identifier: memory
displayName: Memory
resourceType: Memory
defaultCount: 8Gi
minCount: 2Gi
maxCount: 32Gi
- identifier: nvidia.com/gpu
displayName: nvidia.com/gpu
defaultCount: 1
minCount: 1
maxCount: 1
scheduling:
node:
tolerations:
- effect: NoSchedule
key: nvidia-gpu-only
operator: Exists
value: ""
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
value: ""
type: Node
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

namespace: redhat-ods-applications

resources:
- hardware-profile-serving.yaml
- hardware-profile-workbench.yaml
Loading