can resources.cores support floating-point numbers? such as 0.2?
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### Proposal
Hello, may I ask if resources.cores can support floating-point numbers? For example, 0.2
### Use-cases
My server has 64 cores. My service needs to ensure high real-time performance, so cores need to be bound for operation. I need to run 320 containers on one server, that is, each CPU core can be bound to 5 containers. Therefore, the cores parameter needs to be configured to 0.2
### Attempted Solutions
resources.cores can support floating-point numbers? For example, 0.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how resources.cores is parsed, validated, and used for CPU binding and allocation. Determine the behavior needed for a value such as 0.2, then add coverage for fractional cores and verify that scheduling and binding produce the expected result for the stated container workload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100