From: Ferenc Tóth Date: Fri, 27 Sep 2019 09:04:43 +0000 (+0200) Subject: Prepare SRIOV DP Pod spec for v3.0.0+ X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F1659%2F1;p=ta%2Fcaas-install.git Prepare SRIOV DP Pod spec for v3.0.0+ - hostNetwork is needed - need to access to the full /sys filesystem Signed-off-by: Ferenc Tóth Change-Id: I0f5aefd5a9ace49e5a024f07cc0e8eeaf52d8bdf --- diff --git a/SPECS/infra-charts.spec b/SPECS/infra-charts.spec index 33d643c..30a9300 100644 --- a/SPECS/infra-charts.spec +++ b/SPECS/infra-charts.spec @@ -15,7 +15,7 @@ %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} diff --git a/infra-charts/templates/sriovdp-ds.yaml b/infra-charts/templates/sriovdp-ds.yaml index 9cb9577..ca0e889 100644 --- a/infra-charts/templates/sriovdp-ds.yaml +++ b/infra-charts/templates/sriovdp-ds.yaml @@ -32,6 +32,7 @@ spec: name: sriovdp spec: priorityClassName: "system-node-critical" + hostNetwork: true nodeSelector: sriov: enabled containers: @@ -51,7 +52,7 @@ spec: - mountPath: /var/lib/kubelet/device-plugins/ name: devicesock readOnly: false - - mountPath: /sys/class/net/ + - mountPath: /sys/ name: sysfs readOnly: true - name: sriovdp-config @@ -77,7 +78,7 @@ spec: path: /var/lib/kubelet/device-plugins/ - name: sysfs hostPath: - path: /sys/class/net/ + path: /sys/ - name: sriovdp-config hostPath: path: /etc/pcidp/