Skip to content

Commit

Permalink
aws: fix issue with nvidia driver
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildiagne committed Oct 24, 2019
1 parent 6a3776f commit 0a36d12
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions providers/aws/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ EOF
}

function install_nvidia_drivers() {
nvidia_driver_version=1.0.0-beta3
nvidia_driver_version=1.0.0-beta4
nvidia_driver_host="https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin"
kubectl create \
-f $nvidia_driver_host/$nvidia_driver_version/nvidia-device-plugin.yml
Expand Down Expand Up @@ -69,7 +69,7 @@ function install_istio() {
$istio_folder/install/kubernetes/helm/istio-init

# Dirty hack to let the pods install.
sleep 10
sleep 15
else
echo "Istio prerequisites already installed."
fi
Expand Down Expand Up @@ -121,11 +121,12 @@ else
fi

# Install Istio.
if [ -z "$(helm ls --all istio | grep 'istio ')" ]; then
install_istio
else
echo "Istio is already installed."
fi
install_istio
# if [ -z "$(helm ls --all istio | grep 'istio ')" ]; then
# install_istio
# else
# echo "Istio is already installed."
# fi

# Install Knative.
if [ -z "$(kubectl -n knative-serving get pods | grep 'webhook')" ]; then
Expand Down

0 comments on commit 0a36d12

Please sign in to comment.