nri icon indicating copy to clipboard operation
nri copied to clipboard

api,adaptation,generate: allow setting kernel scheduling policy attributes.

Open klihub opened this issue 8 months ago • 3 comments

Allow plugins to set container kernel scheduling policy attributes.

This is the corresponding Process.Scheduler OCI Spec field this PR allows adjusting: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L92

This is how Scheduler is defined in the OCI Spec: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L38

And here are the related scheduler policy and flag definitions: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L880

The related NRI types are all straightforward protobuf defined message representations of the corresponding OCI Spec types.

klihub avatar Apr 10 '25 11:04 klihub

LGTM after rebase

@mikebrow Rebased and pushed.

klihub avatar Jul 15 '25 07:07 klihub

once more to rebase/merge in #135 changes

mikebrow avatar Jul 16 '25 15:07 mikebrow

once more to rebase/merge in #135 changes

Rebased and updated.

klihub avatar Jul 16 '25 15:07 klihub