Commit Graph

30 Commits

Author SHA1 Message Date
Mikko Ylinen
dab89c8151 move to k8s.io v1.22.0 and klog/v2 v2.10.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-08-19 07:14:17 +03:00
Mikko Ylinen
b66b217f06 move to k8s.io v1.21.1 and controller-runtime v0.9.0
with the updated controller-runtime, new ginkgo is pulled in and it
warns about a few to-be-deprecated functions. This commit fixes those
too as they were rather small changes.

Smalle delay is added AfterEach() device plugin controller test as
they became flaky after the envtest updates (DaemonSet deletion failed).

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-06-09 16:36:05 +03:00
Dmitry Rozhkov
6aa1a47c9a
Merge pull request #638 from uniemimu/fractional
gpu_plugin: fractional resource management
2021-06-09 10:58:10 +03:00
Ukri Niemimuukko
f41ecf38ef update kubelet to match other 0.21.0 versions
Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
2021-06-04 13:06:50 +03:00
Mikko Ylinen
f59a1fb9dc Move to Go 1.16.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-06-02 13:41:15 +03:00
Mikko Ylinen
d696380a40 move to k8s.io v1.21.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-04-16 09:44:31 +03:00
Mikko Ylinen
8970e135b7 move to k8s.io v1.20.5
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-03-29 08:17:21 +03:00
Mikko Ylinen
d25df99637 move to k8s.io v1.20.4
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-03-17 08:47:54 +02:00
Mikko Ylinen
37618d4f85 operator: move deviceplugin/v1 CRDs to cluster scope
The device plugins daemonsets are cluster wide and currently only
one device plugin instance per device is possible so making the
corresponding deviceplugin/v1 CRDs non-namespaced (i.e., scope: cluster)
fits better.

Previously, the device plugin daemonset was deployed in the same
namespace as the CR for that device but with the cluster scoped CRDs
we default to use the same namespace as the operator, unless overridden
via DEVICEPLUGIN_NAMESPACE env variable or a command line parameter
to operator manager deployment.

Three additional changes in this commit:
- enable DSA envtest tests
- update controller-runtime to v0.8.1
- change device plugin envtest suite to use klog/v2

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-02-11 11:41:47 +02:00
Mikko Ylinen
0892a34705 move to k8s.io v1.20.x and klog/v2 v2.4.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-01-21 15:34:39 +02:00
Dmitry Rozhkov
eacbf245f0
Merge pull request #530 from mythi/ctrl-runtime-070
Move to Admission v1 API
2020-12-17 13:59:02 +02:00
Mikko Ylinen
d63037c2e1 Move to Admission v1 API
Update to controller-runtime v0.7.0 and Admission types to v1 with it.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-12-17 11:02:21 +02:00
Mikko Ylinen
621122e456 sgx_epchook: update to cpuid/v2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-12-15 19:58:13 +02:00
Ed Bartosh
98782481d6
Merge pull request #502 from mythi/gousb
go.mod: update gousb to v1.1.0
2020-11-11 14:46:04 +02:00
Mikko Ylinen
3f874ede16 go.mod: update gousb to v1.1.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-11 14:29:35 +02:00
Dmitry Rozhkov
e26c398f69 manually fix deps to point to latest release 2020-11-11 12:31:50 +02:00
Dmitry Rozhkov
5f0da56045 Upgrade to k8s v1.19.3 2020-11-10 16:09:20 +02:00
Dmitry Rozhkov
4924bd2fe6 Switch to go 1.15.3 2020-10-15 14:16:42 +03:00
Mikko Ylinen
76aa7b91f0 go.mod: update controller-runtime to v0.6.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-02 15:16:12 +03:00
Mikko Ylinen
dd50254146 go.mod: add klauspost/cpuid
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-24 16:33:45 +03:00
Dmitry Rozhkov
6b2fa0a264 operator: initial version with gpu and qat controllers 2020-06-25 13:48:41 +03:00
Dmitry Rozhkov
8fc187f4d8 move to k8s v1.18.2 release
Also fix the plugins and e2e tests
2020-04-17 12:40:18 +03:00
Mikko Ylinen
61c135d1d6 fpga_plugin: drop dependency to k8s.io/kubernetes
This commit drops fpga_plugin dependency to k8s.io/kubernetes which
was used to get GetHostname(). After this change, the plugin node
name can be set using new -node-name parameter. The default value for
is read from NODE_NAME environment variable.

If the node annotation override check fails, we continue with the default
mode parameter and do not exist like we did previously.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-02-21 18:48:30 +02:00
Dmitry Rozhkov
43af3a054b e2e test: reimplement with K8s testing framework
Also add a test for the QAT device plugin in kernel mode.

Contributes to #253
2020-02-13 14:51:44 +02:00
Ed Bartosh
3f83e2b2eb Copy toplogogy module from cri-resource-manager
Copied topology module to avoid external dependency.
Added GetTopologyInfo function and its test case.
2020-02-11 12:06:25 +02:00
Ed Bartosh
b03812c281 Send topology info to kubelet
Get topology information for the discovered devices
and send it to kubelet.

Fixes: #250
2020-02-10 13:45:34 +02:00
Dmitry Rozhkov
4b256017e8 Make go mod tidy a mandatory check
Closes #276
2020-02-03 12:21:36 +02:00
Alek Du
887e56e780 VPU: Add Intel Movidius MyriadX VPU plugin support
This patch is to support Intel VCAC-A card (with MyriadX 2485 VPUs), for other
later on VPUs, we will reuse this plugin and add support.

VCAC-A board info is at:
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/media-analytics-vcac-a-accelerator-card-by-celestica-datasheet.pdf

Also add openvino HDDL VPU demo for Intel VCAC-A card.

Signed-off-by: Alek Du <alek.du@intel.com>
2020-01-28 23:17:50 +08:00
Dmitry Rozhkov
814e2e1a50 bump k8s dependencies up to v1.17.0 2020-01-09 11:19:58 +02:00
Dmitry Rozhkov
097ce827de Add support for go mod
See https://github.com/kubernetes/kubernetes/issues/79384 for details on
how to update K8s dependencies.
2019-08-27 11:40:18 +03:00