containerd/services/tasks
Markus Lehtonen f4a191917b cri: annotations for controlling RDT class
Use goresctrl for parsing container and pod annotations related to RDT.

In practice, from the users' point of view, this patchs adds support for
a container annotation and two separate pod annotations for controlling
the RDT class of containers.

Container annotation can be used by a CRI client:
  "io.kubernetes.cri.rdt-class"

Pod annotations for specifying the RDT class in the K8s pod spec level:
  "rdt.resources.beta.kubernetes.io/pod"
  (pod-wide default for all containers within)

  "rdt.resources.beta.kubernetes.io/container.<container_name>"
  (container-specific overrides)

Annotations are intended as an intermediate step before the CRI API
supports RDT.

Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
2022-01-04 09:27:54 +02:00
..
local_darwin.go run gofmt with Go 1.17 2021-10-07 20:16:59 +08:00
local_freebsd.go Revert shim plugin migration 2021-12-02 10:35:15 -08:00
local_unix.go Revert shim plugin migration 2021-12-02 10:35:15 -08:00
local_windows.go Revert shim plugin migration 2021-12-02 10:35:15 -08:00
local.go tasks: add Linux rdt support 2022-01-04 09:27:54 +02:00
rdt_default.go tasks: add Linux rdt support 2022-01-04 09:27:54 +02:00
rdt_linux.go cri: annotations for controlling RDT class 2022-01-04 09:27:54 +02:00
service.go Switch from x/net/context to context 2018-04-24 14:33:34 -07:00