- hostNetwork is needed
- need to access to the full /sys filesystem
Signed-off-by: Ferenc Tóth <ferenc.2.toth@nokia.com>
Change-Id: I0f5aefd5a9ace49e5a024f07cc0e8eeaf52d8bdf
%define COMPONENT infra-charts
%define RPM_NAME caas-%{COMPONENT}
%define RPM_MAJOR_VERSION 1.0.0
-%define RPM_MINOR_VERSION 28
+%define RPM_MINOR_VERSION 29
Name: %{RPM_NAME}
Version: %{RPM_MAJOR_VERSION}
name: sriovdp
spec:
priorityClassName: "system-node-critical"
+ hostNetwork: true
nodeSelector:
sriov: enabled
containers:
- mountPath: /var/lib/kubelet/device-plugins/
name: devicesock
readOnly: false
- - mountPath: /sys/class/net/
+ - mountPath: /sys/
name: sysfs
readOnly: true
- name: sriovdp-config
path: /var/lib/kubelet/device-plugins/
- name: sysfs
hostPath:
- path: /sys/class/net/
+ path: /sys/
- name: sriovdp-config
hostPath:
path: /etc/pcidp/