Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

WIP initial GPU SUpport #7

Merged
merged 2 commits into from
Oct 5, 2020
Merged
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
13 changes: 11 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,16 @@ while [ : ]
}



curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644
if [ $1 = "--gpu" ]
then
info "Install Pipelines with GPU support, docker as runtime"
curl -sfL https://get.k3s.io | sh -s - --docker --kubelet-arg="feature-gates=DevicePlugins=true" --write-kubeconfig-mode 644
#### GPU Support
kubectl create -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.7.0/nvidia-device-plugin.yml
else
info "Install Pipelines without GPU support, containerd as runtime"
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644
fi

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

Expand Down Expand Up @@ -72,6 +80,7 @@ for i in "${waiting_pod_array[@]}"; do
done



info "Kubeflow pipelines ready!!"

info "Defining the ingress"
Expand Down