mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-05-13 19:11:41 +00:00
nvidia gpu operator to device plugin
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: gpu-operator
|
|
||||||
namespace: gpu-operator
|
|
||||||
spec:
|
|
||||||
chart:
|
|
||||||
spec:
|
|
||||||
chart: gpu-operator
|
|
||||||
version: v26.3.x
|
|
||||||
sourceRef:
|
|
||||||
kind: HelmRepository
|
|
||||||
name: nvidia
|
|
||||||
interval: 15m
|
|
||||||
releaseName: gpu-operator
|
|
||||||
values:
|
|
||||||
driver:
|
|
||||||
enabled: false
|
|
||||||
toolkit:
|
|
||||||
enabled: false
|
|
||||||
hostPaths:
|
|
||||||
driverInstallDir: /usr/local
|
|
||||||
devicePlugin:
|
|
||||||
config:
|
|
||||||
name: time-slicing-config
|
|
||||||
default: time-slicing
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: nvidia
|
|
||||||
namespace: gpu-operator
|
|
||||||
spec:
|
|
||||||
interval: 15m
|
|
||||||
url: https://helm.ngc.nvidia.com/nvidia
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: time-slicing-config
|
|
||||||
namespace: gpu-operator
|
|
||||||
data:
|
|
||||||
time-slicing: |
|
|
||||||
version: v1
|
|
||||||
sharing:
|
|
||||||
timeSlicing:
|
|
||||||
resources:
|
|
||||||
- name: nvidia.com/gpu
|
|
||||||
replicas: 5
|
|
||||||
27
infrastructure/controllers/nvidia-device-plugin/release.yaml
Normal file
27
infrastructure/controllers/nvidia-device-plugin/release.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: nvidia-device-plugin
|
||||||
|
namespace: nvidia-device-plugin
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: nvidia-device-plugin
|
||||||
|
version: 0.17.x
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: nvdp
|
||||||
|
interval: 15m
|
||||||
|
releaseName: nvidia-device-plugin
|
||||||
|
values:
|
||||||
|
runtimeClassName: nvidia
|
||||||
|
config:
|
||||||
|
default: time-slicing
|
||||||
|
map:
|
||||||
|
time-slicing: |
|
||||||
|
version: v1
|
||||||
|
sharing:
|
||||||
|
timeSlicing:
|
||||||
|
resources:
|
||||||
|
- name: nvidia.com/gpu
|
||||||
|
replicas: 5
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: nvdp
|
||||||
|
namespace: nvidia-device-plugin
|
||||||
|
spec:
|
||||||
|
interval: 15m
|
||||||
|
url: https://nvidia.github.io/k8s-device-plugin
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: node.k8s.io/v1
|
||||||
|
kind: RuntimeClass
|
||||||
|
metadata:
|
||||||
|
name: nvidia
|
||||||
|
handler: nvidia
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: gpu-operator
|
|
||||||
labels:
|
|
||||||
pod-security.kubernetes.io/enforce: privileged
|
|
||||||
pod-security.kubernetes.io/audit: privileged
|
|
||||||
pod-security.kubernetes.io/warn: privileged
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: nvidia-device-plugin
|
||||||
Reference in New Issue
Block a user