JMA
Version 2.9.0 Latest
API version: 11.1.0
Added
- A deployment can state its resources explicitly (#229). The
ConfigureDeploymentaction of a ProcessingStep takesResourceswithCpuMillicores,MemoryMiBandDiskGiB, as an alternative toResourcePreset. A request passes exactly one of the two, otherwise it gets 400. A preset stands for the resources the operator applied for it so far, fromXSmall(250 millicores, 512 MiB, 3 GiB) toXXLarge(14000 millicores, 60416 MiB, 300 GiB), so clients that send onlyResourcePresetkeep working unchanged. The deployment showsCpuMillicores,MemoryMiBandDiskGiB, andResourcePresetwhen the values are exactly those of a preset, otherwise null. The action’s prefilled values carry only one of the two: the preset when the resources match one, otherwise the resources. - Resources above the resource ceiling are rejected with 400, whether stated explicitly or through a preset; the operator would silently cut them down. The ceiling is set in
Deployment:MaxResources(CpuMillicores,MemoryMiB,DiskGiB) and defaults to one ccx43 peak node: 15400 millicores, 60416 MiB and 325 GiB. Set it to the operator’sjob.maxResources.*of the namespace when they differ.
Changed
- The deployment message to the operator carries
spec.resources(cpu,memory,diskas Kubernetes quantities, e.g."500m","1024Mi","10Gi") and no longerspec.resourcePreset. This needs operator 0.3.0 or later; deploy that first. After this release, re-apply every existing deployment so its StepFunction gets explicit resources. - Existing deployments are migrated to the resources of their preset; the stored preset is dropped.