Fix for k3s >= 1.18

This commit is contained in:
Alexandre Ferreira 2020-06-24 15:16:01 -05:00
parent 43009d99cc
commit 879085aaed

View File

@ -33,6 +33,8 @@ spec:
mountPath: /var/lib/kubelet/device-plugins mountPath: /var/lib/kubelet/device-plugins
- name: dev-dir - name: dev-dir
mountPath: /dev mountPath: /dev
- name: sys-dir
mountPath: /sys
volumes: volumes:
- name: device-plugin - name: device-plugin
hostPath: hostPath:
@ -40,4 +42,7 @@ spec:
- name: dev-dir - name: dev-dir
hostPath: hostPath:
path: /dev path: /dev
terminationGracePeriodSeconds: 30 - name: sys-dir
hostPath:
path: /sys
terminationGracePeriodSeconds: 30