Warning
ComposeKit is still in active development (pre-1.0). The API and behavior may
change between releases. Not recommended for production use.
Patch release.
Fixes
- Fractional
cpusfailed to start (#8). Composecpus(and
deploy.resources.limits.cpus) is a fraction of CPU time, butcontainer --cpus
takes an integer vCPU count, so a value like0.5madecontainer runexit 64.
Values are now rounded up to whole vCPUs (minimum 1):0.5 -> 1,1.5 -> 2.
Non-positive/non-numeric values emit no--cpusflag.
Full changelog: v0.0.1...v0.0.2
Install
.package(url: "https://github.com/flaticols/ComposeKit.git", from: "0.0.2"),