koordinator icon indicating copy to clipboard operation
koordinator copied to clipboard

[proposal] Support the resource management for Mid-tier pods.

Open saintube opened this issue 1 year ago • 6 comments

What is your proposal:

Support the resource management for Mid-tier pods in the koordlet:

  • [ ] Identify the extended resources of Mid-tier.
    • [ ] In the runtime hook, Set the necessary cgroups for Mid+BE pods/containers, just like the BatchResource hook.
    • [x] In the metrics module, export the node allocatable and pod requests/limits about Mid resources. #1874
  • [x] Distinguish pods with priority classes (non-Prod) apart from the QoS. #1469

Why is this needed:

The #1361 adds the Mid-tier resource, allowing a pod with Mid priority class to allocate kubernetes.io/mid-cpu and kubernetes.io/mid-memory resources. However, the resource management of Mid-tier is not fully supported in the koordlet. For example, the koordlet does not set the related cgroups like cpu.cfs_quota_us for a Mid+BE pod.

saintube avatar Jul 04 '23 03:07 saintube

/area koordlet

saintube avatar Jul 04 '23 03:07 saintube

This issue has been automatically marked as stale because it has not had recent activity. This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the issue is closed You can:
  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close Thank you for your contributions.

stale[bot] avatar Oct 29 '23 08:10 stale[bot]

/remove-lifecycle stale

saintube avatar Oct 30 '23 01:10 saintube

This issue has been automatically marked as stale because it has not had recent activity. This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the issue is closed You can:
  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close Thank you for your contributions.

stale[bot] avatar Jan 28 '24 03:01 stale[bot]

/remove-lifecycle stale

saintube avatar Jan 29 '24 01:01 saintube

https://github.com/koordinator-sh/koordinator/pull/1874 export mid resource metric

j4ckstraw avatar Jan 30 '24 01:01 j4ckstraw