Skip to content

Commit

Permalink
Bump nvidia-device-plugin to 0.12.3
Browse files Browse the repository at this point in the history
0.9 is a bit over 18 months old at this point. Matching versions
of drivers, CUDA and packages can be a bit difficult with
older versions (see, for example pangeo-data/pangeo-docker-images#390).
  • Loading branch information
yuvipanda committed Oct 18, 2022
1 parent dbc5212 commit 34aee44
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pkg/addons/assets/nvidia-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: apps/v1
kind: DaemonSet
metadata:
Expand All @@ -25,18 +24,10 @@ spec:
type: RollingUpdate
template:
metadata:
# This annotation is deprecated. Kept here for backward compatibility
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
labels:
name: nvidia-device-plugin-ds
spec:
tolerations:
# This toleration is deprecated. Kept here for backward compatibility
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
- key: CriticalAddonsOnly
operator: Exists
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
Expand All @@ -46,9 +37,11 @@ spec:
# See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
priorityClassName: "system-node-critical"
containers:
- image: nvcr.io/nvidia/k8s-device-plugin:v0.9.0
- image: nvcr.io/nvidia/k8s-device-plugin:v0.12.3
name: nvidia-device-plugin-ctr
args: ["--fail-on-init-error=false"]
env:
- name: FAIL_ON_INIT_ERROR
value: "false"
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand All @@ -60,4 +53,3 @@ spec:
- name: device-plugin
hostPath:
path: /var/lib/kubelet/device-plugins

0 comments on commit 34aee44

Please sign in to comment.