diff --git a/dev/schema/defaults.json b/dev/schema/defaults.json index 1fa31a7e7..63f3782a7 100644 --- a/dev/schema/defaults.json +++ b/dev/schema/defaults.json @@ -1688,8 +1688,8 @@ "title": "RepoAuthFlags", "type": "object" }, - "ResourceLimits": { - "description": "Model representing the 'limits' section of Kubernetes resource specifications.", + "ResourceDefinition": { + "description": "Model representing the 'limits' or `request` section of Kubernetes resource specifications.", "properties": { "cpu": { "anyOf": [ @@ -1714,30 +1714,7 @@ "cpu", "memory" ], - "title": "ResourceLimits", - "type": "object" - }, - "ResourceRequests": { - "description": "Model representing the 'requests' section of Kubernetes resource specifications.", - "properties": { - "cpu": { - "description": "The minimum amount of CPU requested for the container, expressed in milli CPUs (e.g., '100m').", - "pattern": "^\\d+m$", - "title": "Cpu", - "type": "string" - }, - "memory": { - "description": "The minimum amount of memory requested for the container, with valid units such as 'Mi' or 'Gi' (e.g., '500Mi').", - "pattern": "^\\d+[KMGi]+$", - "title": "Memory", - "type": "string" - } - }, - "required": [ - "cpu", - "memory" - ], - "title": "ResourceRequests", + "title": "ResourceDefinition", "type": "object" }, "Resources": { @@ -1746,7 +1723,7 @@ "limits": { "allOf": [ { - "$ref": "#/$defs/ResourceLimits" + "$ref": "#/$defs/ResourceDefinition" } ], "description": "The maximum resource limits for the container." @@ -1754,7 +1731,7 @@ "requests": { "allOf": [ { - "$ref": "#/$defs/ResourceRequests" + "$ref": "#/$defs/ResourceDefinition" } ], "description": "The minimum resource requirements for the container." diff --git a/dev/schema/pipeline.json b/dev/schema/pipeline.json index 1fc29fcde..df0ec7869 100644 --- a/dev/schema/pipeline.json +++ b/dev/schema/pipeline.json @@ -1348,8 +1348,8 @@ "title": "RepoAuthFlags", "type": "object" }, - "ResourceLimits": { - "description": "Model representing the 'limits' section of Kubernetes resource specifications.", + "ResourceDefinition": { + "description": "Model representing the 'limits' or `request` section of Kubernetes resource specifications.", "properties": { "cpu": { "anyOf": [ @@ -1374,30 +1374,7 @@ "cpu", "memory" ], - "title": "ResourceLimits", - "type": "object" - }, - "ResourceRequests": { - "description": "Model representing the 'requests' section of Kubernetes resource specifications.", - "properties": { - "cpu": { - "description": "The minimum amount of CPU requested for the container, expressed in milli CPUs (e.g., '100m').", - "pattern": "^\\d+m$", - "title": "Cpu", - "type": "string" - }, - "memory": { - "description": "The minimum amount of memory requested for the container, with valid units such as 'Mi' or 'Gi' (e.g., '500Mi').", - "pattern": "^\\d+[KMGi]+$", - "title": "Memory", - "type": "string" - } - }, - "required": [ - "cpu", - "memory" - ], - "title": "ResourceRequests", + "title": "ResourceDefinition", "type": "object" }, "Resources": { @@ -1406,7 +1383,7 @@ "limits": { "allOf": [ { - "$ref": "#/$defs/ResourceLimits" + "$ref": "#/$defs/ResourceDefinition" } ], "description": "The maximum resource limits for the container." @@ -1414,7 +1391,7 @@ "requests": { "allOf": [ { - "$ref": "#/$defs/ResourceRequests" + "$ref": "#/$defs/ResourceDefinition" } ], "description": "The minimum resource requirements for the container." diff --git a/dev/sitemap.xml.gz b/dev/sitemap.xml.gz index d88dff404..718575459 100644 Binary files a/dev/sitemap.xml.gz and b/dev/sitemap.xml.gz differ