containerd/oci
Antti Kervinen 10576c298e cri: support blockio class in pod and container annotations
This patch adds support for a container annotation and two separate
pod annotations for controlling the blockio class of containers.

The container annotation can be used by a CRI client:
  "io.kubernetes.cri.blockio-class"

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

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

Correspondingly, this patch adds support for --blockio-class and
--blockio-config-file to ctr, too.

This implementation follows the resource class annotation pattern
introduced in RDT and merged in commit 893701220.

Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
2022-04-29 11:44:09 +03:00
..
client.go Licence header added 2018-02-19 10:32:26 +09:00
mounts_freebsd.go Add ruleset=4 option 2021-05-25 09:17:16 +02:00
mounts.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
spec_opts_linux_test.go Fix the Inheritable capability defaults. 2022-02-01 13:55:46 -08:00
spec_opts_linux.go cri: support blockio class in pod and container annotations 2022-04-29 11:44:09 +03:00
spec_opts_nonlinux.go cri: support blockio class in pod and container annotations 2022-04-29 11:44:09 +03:00
spec_opts_test.go Enable gosec linter for golangci-lint 2022-03-14 22:50:54 +00:00
spec_opts_unix_test.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
spec_opts_unix.go Adds support for Windows ArgsEscaped images 2022-03-01 13:40:44 -08:00
spec_opts_windows_test.go Adds support for Windows ArgsEscaped images 2022-03-01 13:40:44 -08:00
spec_opts_windows.go Adds support for Windows ArgsEscaped images 2022-03-01 13:40:44 -08:00
spec_opts.go Merge pull request from GHSA-c9cp-9c75-9v8c 2022-03-23 10:50:56 -07:00
spec_test.go Fix the Inheritable capability defaults. 2022-02-01 13:55:46 -08:00
spec.go Fix the Inheritable capability defaults. 2022-02-01 13:55:46 -08:00
utils_unix_go116_test.go OCI: Mount (accessible) host devices in privileged rootless containers 2021-12-10 12:16:59 +01:00
utils_unix_go117_test.go OCI: Mount (accessible) host devices in privileged rootless containers 2021-12-10 12:16:59 +01:00
utils_unix_test.go OCI: Mount (accessible) host devices in privileged rootless containers 2021-12-10 12:16:59 +01:00
utils_unix.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00