Skip to content

Commit ffd3263

Browse files
committed
Remove helm chart for GPU DRA driver in favor of one for ComputeDomains
This is done despite the fact that the name of the helm chart is nvidia-dra-driver-gpu. A future commit will add the safeguards to ensure that enabling the GPU DRA driver is not allowed (even if it is the default). Signed-off-by: Kevin Klues <[email protected]>
1 parent 4fa5065 commit ffd3263

40 files changed

+7
-1073
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,9 @@ generate-crds: generate-deepcopy .remove-crds
109109
paths=$(CURDIR)/$${dir} \
110110
output:crd:dir=$(CURDIR)/deployments/helm/tmp_crds; \
111111
done
112-
mkdir -p $(CURDIR)/deployments/helm/$(GPU_DRIVER_NAME)/crds
112+
mkdir -p $(CURDIR)/deployments/helm/$(HELM_DRIVER_NAME)/crds
113113
cp -R $(CURDIR)/deployments/helm/tmp_crds/* \
114-
$(CURDIR)/deployments/helm/$(GPU_DRIVER_NAME)/crds
115-
mkdir -p $(CURDIR)/deployments/helm/$(IMEX_DRIVER_NAME)/crds
116-
cp -R $(CURDIR)/deployments/helm/tmp_crds/* \
117-
$(CURDIR)/deployments/helm/$(IMEX_DRIVER_NAME)/crds
114+
$(CURDIR)/deployments/helm/$(HELM_DRIVER_NAME)/crds
118115
rm -rf $(CURDIR)/deployments/helm/tmp_crds
119116

120117

@@ -166,7 +163,7 @@ generate-clientset: .remove-clientset
166163
rm -rf $(CURDIR)/pkg/tmp_clientset
167164

168165
.remove-crds:
169-
rm -rf $(CURDIR)/deployments/helm/$(DRIVER_NAME)/crds
166+
rm -rf $(CURDIR)/deployments/helm/$(HELM_DRIVER_NAME)/crds
170167

171168
.remove-deepcopy:
172169
for dir in $(DEEPCOPY_SOURCES); do \

demo/clusters/gke/install-dra-gpu-driver.sh renamed to demo/clusters/gke/install-dra-driver-gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ DRIVER_NAME=$(from_versions_mk "DRIVER_NAME")
2929
: ${IMAGE_NAME:=${DRIVER_NAME}}
3030
: ${IMAGE_TAG:=6c34f5fb-ubi8}
3131

32-
helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-gpu-driver ${PROJECT_DIR}/deployments/helm/k8s-dra-gpu-driver \
32+
helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-driver-gpu ${PROJECT_DIR}/deployments/helm/nvidia-dra-driver-gpu \
3333
--set image.repository=${IMAGE_REGISTRY}/${IMAGE_NAME} \
3434
--set image.tag=${IMAGE_TAG} \
3535
--set image.pullPolicy=Always \

demo/clusters/gke/install-dra-imex-driver.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

demo/clusters/kind/install-dra-gpu-driver.sh renamed to demo/clusters/kind/install-dra-driver-gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ source "${CURRENT_DIR}/scripts/common.sh"
2424

2525
kubectl label node -l node-role.x-k8s.io/worker --overwrite nvidia.com/gpu.present=true
2626

27-
helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-gpu-driver ${PROJECT_DIR}/deployments/helm/k8s-dra-gpu-driver \
27+
helm upgrade -i --create-namespace --namespace nvidia nvidia-dra-driver-gpu ${PROJECT_DIR}/deployments/helm/nvidia-dra-driver-gpu \
2828
${NVIDIA_CTK_PATH:+--set nvidiaCtkPath=${NVIDIA_CTK_PATH}} \
2929
${NVIDIA_DRIVER_ROOT:+--set nvidiaDriverRoot=${NVIDIA_DRIVER_ROOT}} \
3030
${MASK_NVIDIA_DRIVER_PARAMS:+--set maskNvidiaDriverParams=${MASK_NVIDIA_DRIVER_PARAMS}} \

demo/clusters/kind/install-dra-imex-driver.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

demo/clusters/nvkind/install-dra-gpu-driver.sh renamed to demo/clusters/nvkind/install-dra-driver-gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ CURRENT_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
1919

2020
: ${MASK_NVIDIA_DRIVER_PARAMS:="true"}
2121
export MASK_NVIDIA_DRIVER_PARAMS
22-
exec ${CURRENT_DIR}/../kind/install-dra-gpu-driver.sh
22+
exec ${CURRENT_DIR}/../kind/install-dra-driver-gpu.sh

demo/clusters/nvkind/install-dra-imex-driver.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

deployments/helm/k8s-dra-gpu-driver/templates/clusterrole.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

deployments/helm/k8s-dra-gpu-driver/templates/clusterrolebinding.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

deployments/helm/k8s-dra-gpu-driver/templates/deviceclass-gpu.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)