From 9a05af5502908cb4034df8555475d5c8f3bb9d90 Mon Sep 17 00:00:00 2001 From: Jiaying Zhang Date: Thu, 22 Feb 2018 17:27:09 -0800 Subject: [PATCH] Update gke nvidia-gpu-device-plugin to the latest version that supports both v1alpha and v1beta1 device plugin versions. Re-enables nvidia-gpus e2e test after verifying the test passes now. --- cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml | 2 +- test/e2e/scheduling/nvidia-gpus.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml b/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml index c66e0e0d37..e8c3ccecba 100644 --- a/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml +++ b/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml @@ -36,7 +36,7 @@ spec: hostPath: path: /dev containers: - - image: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0e79da6998a61257585e0d3fb5848240129f0fa5b4ad972dfed4049448093c33" + - image: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e" command: ["/usr/bin/nvidia-gpu-device-plugin", "-logtostderr"] name: nvidia-gpu-device-plugin resources: diff --git a/test/e2e/scheduling/nvidia-gpus.go b/test/e2e/scheduling/nvidia-gpus.go index 1e3b3e8c54..93dc4e1eee 100644 --- a/test/e2e/scheduling/nvidia-gpus.go +++ b/test/e2e/scheduling/nvidia-gpus.go @@ -154,8 +154,6 @@ func getGPUsAvailable(f *framework.Framework) int64 { } func SetupNVIDIAGPUNode(f *framework.Framework, setupResourceGatherer bool) *framework.ContainerResourceGatherer { - - Skip("Temporarily disable the test till we update the device plugin image") // Skip the test if the base image is not COS. // TODO: Add support for other base images. // CUDA apps require host mounts which is not portable across base images (yet).