ResourcesLimits

The compute and memory resource limits

Application DependenciesCloud NativeIntegrationResearchSpecificationsWorkload Specifications

Properties

Name Type Description
memory string The memory limit in bytes with optional unit specifier. For example 125M or 1Gi.
cpu string The CPU limit as whole or fractional CPUs. 'm' indicates milli-CPUs. For example 2 or 125m.
View JSON Schema on GitHub

JSON Schema

application-research-resourceslimits-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourcesLimits",
  "title": "ResourcesLimits",
  "type": "object",
  "description": "The compute and memory resource limits",
  "additionalProperties": false,
  "properties": {
    "memory": {
      "type": "string",
      "description": "The memory limit in bytes with optional unit specifier. For example 125M or 1Gi.",
      "pattern": "^[1-9]\\d*(K|M|G|T|Ki|Mi|Gi|Ti)?$",
      "examples": [
        "256M",
        "1Gi",
        "512Mi"
      ]
    },
    "cpu": {
      "type": "string",
      "description": "The CPU limit as whole or fractional CPUs. 'm' indicates milli-CPUs. For example 2 or 125m.",
      "pattern": "^\\d*(?:m|\\.\\d+)?$",
      "examples": [
        "1",
        "250m",
        "0.5"
      ]
    }
  }
}