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

[proposal] runtime hook should support initContainers #2115

Open
saintube opened this issue Jun 21, 2024 · 0 comments
Open

[proposal] runtime hook should support initContainers #2115

saintube opened this issue Jun 21, 2024 · 0 comments
Labels
area/koordlet kind/proposal Create a report to help us improve

Comments

@saintube
Copy link
Member

What is your proposal:

The runtime hook CPUSetAllocator in the koordlet is responsible for binding CPUs for pods following the scheduling result. However, it ignores the init containers due to historical performance and timeliness issues.

After the native sidecar container feature is introduced to Kubernetes 1.28, init containers of a pod can be long-running if they set restartPolicy as Always.

To properly manage the resources of the sidecar containers, the runtime hooks should reconsider the init containers.

Why is this needed:

Is there a suggested solution, if so, please add it:

@saintube saintube added area/koordlet kind/proposal Create a report to help us improve labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/koordlet kind/proposal Create a report to help us improve
Projects
None yet
Development

No branches or pull requests

1 participant