Skip to content
Open
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
3 changes: 3 additions & 0 deletions assets/state-driver/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
- key: nvidia.com/gpu-driver-update
operator: Exists
effect: NoSchedule
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-full-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
- effect: NoSchedule
key: foo
operator: Equal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-gdrcopy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-gds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-hostnetwork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-rdma-hostmofed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-rdma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-secret-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions internal/state/testdata/golden/driver-vgpu-licensing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ spec:
- effect: NoSchedule
key: nvidia.com/gpu
operator: Exists
- effect: NoSchedule
key: nvidia.com/gpu-driver-update
operator: Exists
volumes:
- hostPath:
path: /run/nvidia
Expand Down
3 changes: 3 additions & 0 deletions manifests/state-driver/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ spec:
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
- key: nvidia.com/gpu-driver-update
operator: Exists
effect: NoSchedule
{{- if .Driver.Spec.Tolerations }}
{{- .Driver.Spec.Tolerations | yaml | nindent 8 }}
{{- end }}
Expand Down