kind: Pod
apiVersion: v1
metadata:
  name: sriov-device-plugin
spec:
  containers:
  - name: sriov-device-plugin 
    image: nfvpe/sriov-device-plugin:latest
    imagePullPolicy: IfNotPresent
    command: [ "/bin/bash", "-c", "--" ]
    args: [ "while true; do sleep 300000; done;" ]
    volumeMounts:
    - mountPath: /var/lib/kubelet/device-plugins/ 
      name: devicesock 
      readOnly: false
    - mountPath: /sys/class/net
      name: net
      readOnly: true
    - mountPath: /etc/pcidp/
      name: config
      readOnly: true
  volumes:
  - name: devicesock 
    hostPath:
     # directory location on host
     path: /var/lib/kubelet/device-plugins/
  - name: net
    hostPath:
      path: /sys/class/net
  - name: config
    hostPath:
      path: /etc/pcidp/
  hostNetwork: true
  hostPID: true
