feat(profiles): add and merge some cni profiles.

This commit is contained in:
Alexandre Pujol 2022-07-10 14:24:09 +01:00
parent 4f7cf8d90e
commit d8449de55e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 69 additions and 12 deletions

View file

@ -6,16 +6,19 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /opt/cni/bin/bandwidth
profile bandwidth @{exec_path} {
@{exec_path} = /{usr/,}lib/cni/bandwidth /opt/cni/bin/bandwidth
profile cni-bandwidth @{exec_path} {
include <abstractions/base>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
network inet,
network netlink raw,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
include if exists <local/bandwidth>
include if exists <local/cni-bandwidth>
}