intel-device-plugins-for-ku.../cmd/fpga_crihook/testdata/stdin-incorrect-intel-annotation.json
Ed Bartosh 9df1afdf43 fpga_crihook: check if intel annotation is set
Check if container annotation com.intel.fpga.mode is set to
"intel.com/fpga-region". This annotation is set by device plugin.
So, the check should help to filter out unwanted workflow that
device plugin is not aware of.
2018-07-16 16:12:59 +03:00

18 lines
645 B
JSON

{
"annotations": {
"io.kubernetes.container.hash": "b202a1fa",
"io.kubernetes.container.name": "test-container",
"io.kubernetes.container.restartCount": "0",
"io.kubernetes.pod.name": "test-fpga-region",
"io.kubernetes.pod.namespace": "default",
"io.kubernetes.pod.terminationGracePeriod": "30",
"io.kubernetes.pod.uid": "942e94c1-72d3-11e8-b221-c81f66f62fcc",
"com.intel.fpga.mode": "incorrect value"
},
"bundle": "testdata",
"id": "1c40dd8efd268a47d7fb9f75d00f50c20af49d07d8d3c5fb948e68abb6d5ecf9",
"ociVersion": "1.0.0",
"pid": 39638,
"status": ""
}