Commit Graph

309 Commits

Author SHA1 Message Date
Tuomas Katila
11c9753aca
Merge pull request #1745 from bart0sh/PR155-fpga-support-CDI
FPGA: support CDI
2024-05-28 11:19:58 +03:00
Ed Bartosh
8eac8b5edd fpga: remove generation of the CRI-O hook 2024-05-22 14:57:03 +03:00
Mikko Ylinen
a10c0ecc05
Merge pull request #1739 from tkatila/post-0.30.0-updates
Post 0.30.0 updates
2024-05-15 12:23:00 +03:00
Tuomas Katila
cd8a911c08 operator: update images to 0.30.0
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-05-15 11:26:47 +03:00
Hyeongju Johannes Lee
2af37fd4cb qat_dpdk_app: drop generic
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2024-05-07 20:46:12 +03:00
Mikko Ylinen
f0cfac0353 deployments: update to NFD v0.15.4
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-05-03 12:59:20 +03:00
Mikko Ylinen
dfe843e4b6 operator: update kube-rbac-proxy to v0.16.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-05-03 12:57:43 +03:00
Tuomas Katila
05bb8ef156 qat: add support for 420xx driver and its devices (4946)
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-05-02 11:36:13 +03:00
Mikko Ylinen
61e38e04f7
Merge pull request #1686 from tkatila/operator-tolations-labels 2024-03-21 17:28:31 +02:00
Tuomas Katila
6a4434bd7f operator: add differentiation label
Add one device plugin specific label to differentiate our operator
from all the possible operators within same namespace.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-03-20 10:00:46 +02:00
Tuomas Katila
52be7ed1e9 Add tolerations support to operator and plugin CRDs
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-03-20 10:00:41 +02:00
Tuomas Katila
4946b26018 gpu: doc: monitoring resource notes
Also align xelink-sidecar deployment with the new files in
the xpu manager project.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-03-13 08:16:16 +02:00
Tuomas Katila
a3d3e9e687 nfd: gpu: allow i915 and xe drivers both compiled-in and as modules
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-03-12 11:34:05 +02:00
Mikko Ylinen
06dc494982 operator: update to controller-gen v0.14 and generate CRDs with it
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-02-12 10:33:53 +02:00
Mikko Ylinen
d2dd2fd810 deployments: update to NFD v0.15.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-02-05 15:41:21 +02:00
Tuomas Katila
7e8aba1e6c Fix false failures with trivy config scan
Sadly GH's trivy-action doesn't support the trivyignore.yaml file.
The whole detection class needs to be ignored.

Include the .yaml file for future use.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-01-17 12:15:47 +02:00
Oleg Zhurakivskyy
ab0e8bc146 qat: Add annotation configurability in the operator
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-01-09 10:20:16 +02:00
Manish Regmi
0256a91643 privileged is not needed for openshift
Remove the privileged section as it is not needed for openshift.

Signed-off-by: Manish Regmi <manish.regmi@intel.com>
2024-01-03 12:34:43 -05:00
Tuomas Katila
ed9189435c operator: update images to 0.29.0
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-12-20 14:39:13 +02:00
Tuomas Katila
e2a7e5d778 nfd rules: require vfio-pci module to be present for qat
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-12-15 11:37:04 +02:00
Tuomas Katila
95b7230374 gpu: enable monitoring for the default installations
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-12-08 08:42:08 +02:00
Mikko Ylinen
fdb376c46c operator: update kube-rbac-proxy to v0.15.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-11-16 10:25:44 +02:00
Mikko Ylinen
2ae4eb9f0f sgx: use NodeFeatureRule SGX label in the NFD overlay
Our SGX README guides users to first deploy NFD and create NodeFeatureRules
when sgx_plugin/overlays/epc-nfd is used. However, it turns out
the "SGX enabled" label is not being used by the plugin DaemonSet.

Use "intel.feature.node.kubernetes.io/sgx": "true" as the nodeSelector
value when the kustomization overlay with NFD is used.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-11-13 11:20:53 +02:00
Tuomas Katila
0164bf340c nfd/gpu: drop empty keys from platform rules
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-10-23 10:56:14 +03:00
Mikko Ylinen
319843c94e vpu: remove deprecated plugin
The VPU plugin can only be used with devices that are
no longer supported by upper layers, such as OpenVINO.

The deprecation plan for the plugin was announced earlier
this year and post v0.28 marks the date when the plugin is removed
from the repo.

Releases before v0.29 have the plugin available should it
be needed.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-10-02 15:28:11 +03:00
Tuomas Katila
646cee6e12 operator: update to 0.28.0 images
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-09-25 09:10:20 +03:00
Mikko Ylinen
834f598f80 deployments: update to NFD v0.14.1 and drop custom GPU deployment
With the NFD recent versions (v0.13+), it's no longer necessary to
start NFD with custom nfd-master args/rbac settings to get numeric
labels registered as extended resources.

The same can be specified via NodeFeatureRules which also works for
"local" source with feature files.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-20 14:02:52 +03:00
Tuomas Katila
88ae7c83eb sgx & gpu crds: improve comments and note sgx's initimage replacement with NFD rules
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
Co-authored-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-15 16:06:02 +03:00
Tuomas Katila
5ca3df666a xpum-sidecar: update deployment yaml to a newer one
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-09-14 13:21:35 +03:00
Tuomas Katila
ea659a5e4b nfd: add rules to label nodes with different GPUs
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-09-12 16:20:33 +03:00
Tuomas Katila
691dfc3483 gpu: refactor nfdhook functionality to plugin
NFD v0.14+ doesn't support binary NFD hooks by default, so there is
a need to move the label creation away from the GPU nfdhook.

Move extended resource label creation to plugin, and drop labels that were
already marked deprecated (platform_gen, media_version etc.).

Drop init-container from deployment files and operator. It is still possible
to use an initcontainer, but the default deployments do not support it.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-09-12 16:20:33 +03:00
Mikko Ylinen
69f5ccfe66 operator: update controller-gen to v0.13.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-05 14:30:10 +03:00
Mikko Ylinen
23314c8bd1 deployments: update NFD to v0.13.4
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-05 14:29:48 +03:00
Mikko Ylinen
7f685b5d89 sgx: add QuoteVerification demo and cleanup hostNetwork dependency
hostNetwork usage for SGX demo pods is not absolutely necessary so it's
better to clean it up and make IAS "security" scanners happier. It was
originally used to be able to use "localhost" PCCS but this change now
adds an example how proper PCCS url can be configured using jq.

Additionally, SGX DCAP Quote Verification is added.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-08-31 14:23:19 +03:00
Hersh Pathak
f1bb5b7270 Update references to OpenShift
Remove obsolete content related to OpenShift version of operator.
Update links to point to Intel Technology Enabling for OpenShift: https://github.com/intel/intel-technology-enabling-for-openshift.
Signed-off-by: Hersh Pathak hersh.pathak@intel.com
2023-08-24 08:56:44 -07:00
Tuomas Katila
4212145126 e2e: gpu: add a basic tensorflow test
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-08-22 15:51:35 +03:00
Mikko Ylinen
c3a3561cb8 webhooks: stop handling Pod updates
FPGA and SGX webhooks mutate container resources which
are immutable. Therefore, stop processing pod updates
and act on creation only.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-08-14 15:18:51 +03:00
Mikko Ylinen
6faf978ae1 deployments: update NFD to v0.13.3.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-08-07 09:13:45 +03:00
Tuomas Katila
e92b752d75 deployments: move from 'vars' to 'replacements'
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-08-03 10:37:44 +03:00
Tuomas Katila
cb04ca0deb deployments: move from 'patchesStrategicMerge' to 'patches'
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-08-03 10:37:44 +03:00
Tuomas Katila
ec2930b331 deployments: move from 'bases' to 'resources'
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-08-03 10:37:44 +03:00
Manish Regmi
c3259ee22f Add SELinux Labels for DSA and IAA
Proper SELinux labels are required for the plugins to run in SELinux
enabled clusters like openshift. These labels are custom made for
plugins and are part of container-selinux package.

Signed-off-by: Manish Regmi <manish.regmi@intel.com>
2023-07-20 16:02:08 -04:00
Mikko Ylinen
89986b9972
Merge pull request #1477 from hj-johannes-lee/PR-2023-023
Makefile: update versions & FPGA: fix naked return error from linter
2023-07-20 18:33:57 +03:00
Hyeongju Johannes Lee
bf286c689d update version of controller gen to v0.12.1
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-07-20 10:17:44 +03:00
Mikko Ylinen
34baf982b8 operator: add missing IaaDevicePlugin finalizers RBAC
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-07-18 08:25:19 +03:00
Tuomas Katila
71cac592cf
Merge pull request #1465 from hj-johannes-lee/PR-2023-019
dsa: replace token with read_buffer in conf
2023-06-30 09:56:24 +03:00
Hyeongju Johannes Lee
521b0275dc dsa: replace token with read_buffer in conf
token related attributes got deprecated. To remove warnings,
replace with read_buff.

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-06-29 00:07:42 +03:00
Tuomas Katila
20c5bf97ff operator: update sample versions to 0.27.1
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-06-26 16:13:53 +03:00
Tuomas Katila
967a043ca2 operator: update samples to 0.27.0 version
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-06-05 09:06:28 +03:00
Tuomas Katila
13097ac78d operator: increase memory resources to 100/120Mi
Fixes: #1416

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-05-22 08:42:40 +03:00