apiVersion: apps/v1 kind: DaemonSet metadata: name: qat-driver-installer namespace: kube-system labels: role: qat-driver-installer spec: selector: matchLabels: role: qat-driver-installer template: metadata: labels: role: qat-driver-installer spec: hostPID: true initContainers: - image: "integratedcloudnative/qat-driver-installer:latest" imagePullPolicy: IfNotPresent name: qat-driver-installer securityContext: privileged: true volumeMounts: - name: qat-install-dir mountPath: "/usr/local/qat" - name: root-dir mountPath: "/root" - name: lib-modules-dir mountPath: "/root/lib/modules" - name: run-systemd-dir mountPath: "/root/run/systemd/system" containers: - image: "gcr.io/google-containers/pause:3.2" name: pause volumes: - name: qat-install-dir hostPath: path: "/opt/qat" - name: root-dir hostPath: path: "/" - name: lib-modules-dir hostPath: path: "/lib/modules" - name: run-systemd-dir hostPath: path: "/run/systemd/system" nodeSelector: feature.node.kubernetes.io/iommu-enabled: "true" feature.node.kubernetes.io/custom-qat: "true"