Commit Graph

106 Commits

Author SHA1 Message Date
Tuomas Katila
1ada5534fa images: set 0.27.1 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-06-19 20:53:22 +03:00
Tuomas Katila
455f6ff212 images: set 0.27.0 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-06-02 09:56:32 +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
Mikko Ylinen
e428cd6c19 go.mod: update to k8s 1.27.1 and controller runtime 0.15.x
k8s 1.27.x triggers build errors on controller-runtime 0.14.x
so we will need to update to 0.15.x at the same time.

Changes include:

* k8s e2e framework moved to use Ginkgo context so we add
  test context to all our test nodes.
* adapt Ginkgo parameter modifications.
* adapt SGX admissionwebhook to InjectDecoder removal.
* adapt deviceplugins and FPGA CRDs to controller-runtime
  API changes.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-09 14:49:24 +03:00
Mikko Ylinen
16724043b2 operator: move to controller-tools v0.12.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-05 15:02:36 +03:00
Hyeongju Lee
ed08d11aa3
Merge pull request #1392 from mythi/PR-2023-019
sgx: stop using local source hooks for EPC registration
2023-05-02 12:26:12 +03:00
Mikko Ylinen
6b5e65a137 operator: update kube-rbac-proxy image to v0.14.1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-02 09:16:24 +03:00
Mikko Ylinen
3a4c0e574f sgx: stop using local source hooks for EPC registration
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-04-28 14:59:41 +03:00
Tuomas Katila
974829ff7c gpu: try to fetch PodList from kubelet API
In large clusters and with resource management, the load
from gpu-plugins can become heavy for the api-server.
This change will start fetching pod listings from kubelet
and use api-server as a backup. Any other error than timeout
will also move the logic back to using api-server.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-03-30 12:43:02 +03:00
Mikko Ylinen
eb632f625a deployments: remove unused deviceplugins RBAC rules
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-02-21 20:14:03 +02:00
Mikko Ylinen
5c6e60eeb1 operator: move to controller-tools v0.11.3
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-02-21 20:14:03 +02:00
Mikko Ylinen
c65d4ab896 operator: update to 0.26.0 images
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-01-20 11:49:51 +02:00
Mikko Ylinen
10a26b8fd8
Merge pull request #1234 from hj-johannes-lee/qat-cfgServices
qat: add configuration of cfgServices to qat initcontainer
2022-12-13 08:26:13 +02:00
Hyeongju Johannes Lee
a6037eae3c
qat: add configuration of cfgServices to qat initcontainer
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-12-12 21:48:21 +02:00
Mikko Ylinen
980c9f1c53 deployments: update kube-rbac-proxy image and args
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-11-21 19:17:21 +02:00
Mikko Ylinen
afce0ed79c
Merge pull request #1196 from ozhuraki/e2e-operator
operator: Add e2e tests for DSA, IAA
2022-11-17 21:30:33 +02:00
Oleg Zhurakivskyy
ef7954c8e1 operator: Add e2e tests for DSA, IAA
Closes #1230

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-11-17 17:47:21 +02:00
Mikko Ylinen
cc144c36df
Merge pull request #1240 from hj-johannes-lee/operator-update-image-name
operator: update image name and version
2022-11-14 07:26:14 +02:00
Hyeongju Johannes Lee
f85fbd6848 operator: fix the operator image name and update docs in DEVEL.md
https://sdk.operatorframework.io/docs/cli/operator-sdk_run_bundle/
According to the documentation of operator-sdk, docker.io should
be speficied.

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-11-11 17:04:37 +02:00
Oleg Zhurakivskyy
e9d3f683d5 operator: Add DSA, IAA provisioning
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-11-09 15:37:28 +02:00
Mikko Ylinen
5876882066 operator: add support for Liveness and Readiness probes
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-11-03 10:25:07 +02:00
Mikko Ylinen
325bcd0d17 operator: update kube-rbac-proxy image
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-10-29 00:04:34 +03:00
Mikko Ylinen
419a5ab586 operator: update to 0.25.0 images
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-10-17 22:45:41 +03:00
Ed Bartosh
9dea92541a
Merge pull request #1088 from hj-johannes-lee/dlb-initcontainer
dlb: add initcontainer to plugin
2022-10-07 14:43:12 +03:00
Hyeongju Johannes Lee
11b04425c2 dlb: add initcontainer to plugin
initcontainer enables vfs and configures vfs
 - only first pf is used to configure a vf
 - only one vf is configured from the pf
add dlb-initcontainer kustomize overlay
update CRD to have initImage
implment operator to run initcontainer
update e2e test to run initcontainer overlay
update envtest to test initimage

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-06 17:11:03 +03:00
Mikko Ylinen
0f5afc258d operator: move to controller-tools v0.10.0
With the latest version of controller-tools, we get to set
reinvocationPolicy tag so that we no longer have to add that
field manually in our Admission Webhook manifests.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-21 19:37:00 +03:00
Mikko Ylinen
6602d56ef9 deployments: fix leader election RBAC rules
controller-runtime now defaults LeaderElectionResourceLock to
leases and we had missed the migration to it properly.

Update the RBAC rules to get our controllers to write their
leader election locks to leases.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-14 08:51:12 +03:00
Oleg Zhurakivskyy
1e8f46689b deployments: Add IAA NodeFeatureRule
Closes #1040

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-08-22 12:52:23 +03:00
Mikko Ylinen
a13ee14e5f deployments: regenerate using the latest controller-gen
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-07-26 13:57:27 +03:00
Mikko Ylinen
b48568c43a operator: align with kubebuilder v3 functionality
kubebuilder v3 based scaffolding has updated many things
and they are documented in [1].

Update operator's functionality to v3 level. We've done
most/some of the changes earlier (e.g., by not using
deprecated k8s APIs anymore) so the changes are minimal.

[1] https://book.kubebuilder.io/migration/v2vsv3.html

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-06-20 16:35:40 +03:00
Hyeongju Johannes Lee
a225f6a199 operator: update csv spec (maintainer, replaces)
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-06-06 12:39:50 +03:00
Hyeongju Johannes Lee
16a6f1d30f operator: update csv yaml file
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-05-24 14:53:06 +03:00
Mikko Ylinen
910a3d9a32 operator: update to 0.24.0 images
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-05-09 15:04:58 +03:00
Manish Regmi
78d2fe24e3 changes related to selinux and permissions for openshift
* run the sgx container as container_device_plugin_t and init container
   as container_device_plugin_init_t. these labels are being added to
   container_selinux package upstream.
 * add rbac role for openshift
Signed-off-by: Manish Regmi <manish.regmi@intel.com>
2022-04-28 14:32:35 -07:00
Mikko Ylinen
cbc521e505 move to k8s.io v1.24.0-rc.1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-04-27 09:26:07 +03:00
Hyeongju Johannes Lee
5a54b3362d operator deployment: move from packagemanifests to bundle
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-04-25 19:01:52 +03:00
Hyeongju Johannes Lee
d3c8063ff3 qat: implement preferredAllocation policies
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-04-07 14:14:00 +03:00
Hyeongju Johannes Lee
df419b3a82 qat: add initimage to plugin
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-03-30 13:46:42 -07:00
chaitanya1731
dd5c1fdb59 operator-csv: Added minKubeVersion to clusterServiceVersion.yaml
Picked '1.21.0' as it is mentioned in the "supported versions" matrix in README.md

Signed-off-by: chaitanya1731 <chaitanya.kulkarni@intel.com>
2022-03-15 01:38:20 -04:00
Ed Bartosh
6b27cf1f7c Implement IAA plugin, operator, demo
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-03-04 15:58:42 +02:00
Ed Bartosh
13780a8cdc implement terrascan check
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-03-01 15:54:28 +02:00
Ed Bartosh
8626d47d8b operator: implement NFD labelling rules
- added labelling rules for all supported devices
- updated operator installation instructions

Fixes: #768

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-02-08 17:01:03 +02:00
Ed Bartosh
afba8be45b
Merge pull request #843 from mythi/PR-2022-004
dsa: make initImage spec consistent with other APIs
2022-01-12 15:38:41 +02:00
Mikko Ylinen
51df411cb1 dsa: make initImage spec consistent with other APIs
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-01-11 08:17:35 +02:00
Ed Bartosh
1259c1d6b4
Merge pull request #834 from hj-johannes-lee/fix-operator-manifest
operator: Fix corrupted csv and update operator version to 0.23.0
2022-01-10 15:19:44 +02:00
Hyeongju Johannes Lee
310883830a operator: update from 0.21.0 to 0.23.0
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-01-10 14:46:55 +02:00
Hyeongju Johannes Lee
4c7219dee0 operator: update to 0.23.0 images
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-01-05 17:27:00 +02:00
Hyeongju Johannes Lee
0c931fcddc operator: fix operator manifest
PR #753 had a huge mistake that changed operator manifest yaml file.
Some part was unintentionally copied and pasted, and no one noticed.
Therefore, this commit replaces the yaml file with the command "operator-sdk generate".

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-01-04 14:14:10 +02:00
Mikko Ylinen
258ada9ce0 sgx: update NFD labels
NFD master and the upcoming release v0.10.0 dropped the
"custom-" prefix from custom labels. Update the default
SgxDevicePlugin sample accordingly.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-12-23 11:18:56 +02:00
Oleg Zhurakivskyy
6bba74acef dsa: Rename idxd-initcontainer to idxd-config-initcontainer
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-11-30 15:32:29 +02:00