From 5e9e37701396faffca7e4a84d6f3ec5a5345abeb Mon Sep 17 00:00:00 2001 From: Lachlan Evenson Date: Thu, 5 Jul 2018 15:10:45 -0700 Subject: [PATCH] pin device plugin ds to only labelled nodes. Update device plugin version for 1.11 (#3422) --- .../kubernetesmasteraddons-nvidia-device-plugin-daemonset.yaml | 1 + pkg/acsengine/k8s_versions.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/parts/k8s/addons/kubernetesmasteraddons-nvidia-device-plugin-daemonset.yaml b/parts/k8s/addons/kubernetesmasteraddons-nvidia-device-plugin-daemonset.yaml index 63fa6ac52c..a67b6c92f0 100644 --- a/parts/k8s/addons/kubernetesmasteraddons-nvidia-device-plugin-daemonset.yaml +++ b/parts/k8s/addons/kubernetesmasteraddons-nvidia-device-plugin-daemonset.yaml @@ -53,3 +53,4 @@ spec: path: /var/lib/kubelet/device-plugins nodeSelector: beta.kubernetes.io/os: linux + accelerator: nvidia diff --git a/pkg/acsengine/k8s_versions.go b/pkg/acsengine/k8s_versions.go index 279321d414..57d0fc9c62 100644 --- a/pkg/acsengine/k8s_versions.go +++ b/pkg/acsengine/k8s_versions.go @@ -25,7 +25,7 @@ var k8sComponentVersions = map[string]map[string]string{ ContainerMonitoringAddonName: "oms:ciprod05082018", AzureCNINetworkMonitoringAddonName: "networkmonitor:v0.0.4", "cluster-autoscaler": "cluster-autoscaler:v1.3.0", - NVIDIADevicePluginAddonName: "k8s-device-plugin:1.10", + NVIDIADevicePluginAddonName: "k8s-device-plugin:1.11", "nodestatusfreq": DefaultKubernetesNodeStatusUpdateFrequency, "nodegraceperiod": DefaultKubernetesCtrlMgrNodeMonitorGracePeriod, "podeviction": DefaultKubernetesCtrlMgrPodEvictionTimeout,