Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container: add custom annotation to specify the scheduler #1164

Merged
merged 2 commits into from
Mar 14, 2023

Conversation

giuseppe
Copy link
Member

add a new feature to the container runtime that allows users to set the scheduling policy of the container process.

The new feature is implemented as a custom annotation. To set the scheduling policy and priority, users can add a run.oci.scheduler annotation with a value in the format POLICY[#PRIORITY].

If no scheduling policy or priority is specified, the container process will use the current scheduling policy and priority.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe marked this pull request as draft March 14, 2023 07:10
This commit adds a new feature to the container runtime that allows
users to set the scheduling policy of the container process.

The new feature is implemented as a custom annotation.  To set the
scheduling policy and priority, users can add a `run.oci.scheduler`
annotation with a value in the format POLICY[|OPTION][#PRIORITY].

If no scheduling policy or priority is specified, the container process
will use the current scheduling policy and priority.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe marked this pull request as ready for review March 14, 2023 11:33
Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants