diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index 65925f58a..c14c6050e 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -4502,6 +4502,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the @@ -4605,6 +4609,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults @@ -5225,6 +5231,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of @@ -5336,6 +5346,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -6035,6 +6047,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as @@ -6139,6 +6155,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -6751,6 +6769,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead @@ -6869,6 +6891,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index a153b58cd..c4dbf1f8c 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -4500,6 +4500,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the @@ -4605,6 +4609,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults @@ -5230,6 +5236,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of @@ -5341,6 +5351,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -6040,6 +6052,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as @@ -6144,6 +6160,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -6756,6 +6774,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead @@ -6874,6 +6896,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index 2e637136f..10e7c581f 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -4256,6 +4256,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the main @@ -4353,6 +4357,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults to @@ -4959,6 +4965,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running @@ -5064,6 +5074,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -5736,6 +5748,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the @@ -5837,6 +5853,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults @@ -6432,6 +6450,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of @@ -6543,6 +6565,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index 7e3cdfadc..4fe96fed8 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -4254,6 +4254,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the main @@ -4353,6 +4357,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults to @@ -4964,6 +4970,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running @@ -5069,6 +5079,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. @@ -5741,6 +5753,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of running as part of the @@ -5842,6 +5858,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. \n Defaults @@ -6437,6 +6455,10 @@ spec: items: type: string type: array + cpuLimit: + type: string + cpuRequest: + type: string dedicatedPod: description: "Specify if a container should run in its own separated pod, instead of @@ -6548,6 +6570,8 @@ spec: type: string memoryLimit: type: string + memoryRequest: + type: string mountSources: description: "Toggles whether or not the project source code should be mounted in the component. diff --git a/pkg/apis/workspaces/v1alpha2/containerComponent.go b/pkg/apis/workspaces/v1alpha2/containerComponent.go index 5073d6c65..8e7c7eb91 100644 --- a/pkg/apis/workspaces/v1alpha2/containerComponent.go +++ b/pkg/apis/workspaces/v1alpha2/containerComponent.go @@ -29,6 +29,15 @@ type Container struct { // +optional MemoryLimit string `json:"memoryLimit,omitempty"` + // +optional + MemoryRequest string `json:"memoryRequest,omitempty"` + + // +optional + CpuLimit string `json:"cpuLimit,omitempty"` + + // +optional + CpuRequest string `json:"cpuRequest,omitempty"` + // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go index 8cca7b161..933e3b4e5 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.parent_overrides.go @@ -379,6 +379,15 @@ type ContainerParentOverride struct { // +optional MemoryLimit string `json:"memoryLimit,omitempty"` + // +optional + MemoryRequest string `json:"memoryRequest,omitempty"` + + // +optional + CpuLimit string `json:"cpuLimit,omitempty"` + + // +optional + CpuRequest string `json:"cpuRequest,omitempty"` + // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. @@ -932,6 +941,15 @@ type ContainerPluginOverrideParentOverride struct { // +optional MemoryLimit string `json:"memoryLimit,omitempty"` + // +optional + MemoryRequest string `json:"memoryRequest,omitempty"` + + // +optional + CpuLimit string `json:"cpuLimit,omitempty"` + + // +optional + CpuRequest string `json:"cpuRequest,omitempty"` + // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. diff --git a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go index 56c63316c..42655fe88 100644 --- a/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go +++ b/pkg/apis/workspaces/v1alpha2/zz_generated.plugin_overrides.go @@ -258,6 +258,15 @@ type ContainerPluginOverride struct { // +optional MemoryLimit string `json:"memoryLimit,omitempty"` + // +optional + MemoryRequest string `json:"memoryRequest,omitempty"` + + // +optional + CpuLimit string `json:"cpuLimit,omitempty"` + + // +optional + CpuRequest string `json:"cpuRequest,omitempty"` + // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 18f60b2a0..0043066d7 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -439,6 +439,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -526,6 +532,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1124,6 +1133,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1207,6 +1222,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1878,6 +1896,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1961,6 +1985,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2532,6 +2559,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2615,6 +2648,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index 017c37b4b..bf1d3ec20 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -604,6 +604,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -691,6 +697,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1289,6 +1298,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1372,6 +1387,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2043,6 +2061,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2126,6 +2150,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2697,6 +2724,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2780,6 +2813,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index 5beac45ba..deb261a9b 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -617,6 +617,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -704,6 +710,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1302,6 +1311,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1385,6 +1400,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2056,6 +2074,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2139,6 +2163,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2710,6 +2737,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2793,6 +2826,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index 7f1d9a749..6da677dcc 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -384,6 +384,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -471,6 +477,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1049,6 +1058,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1132,6 +1147,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1847,6 +1865,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1930,6 +1954,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -2501,6 +2528,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -2584,6 +2617,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index 7b73756a7..d77ecf215 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -487,6 +487,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -579,6 +585,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -1240,6 +1249,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -1330,6 +1345,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2081,6 +2099,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2171,6 +2195,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2807,6 +2834,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2897,6 +2930,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index aa9afc256..e7753507a 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -685,6 +685,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -777,6 +783,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -1438,6 +1447,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -1528,6 +1543,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2279,6 +2297,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2369,6 +2393,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -3005,6 +3032,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -3095,6 +3128,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index 83ac73491..ec1029652 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -698,6 +698,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -790,6 +796,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -1451,6 +1460,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -1541,6 +1556,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2292,6 +2310,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2382,6 +2406,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -3018,6 +3045,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -3108,6 +3141,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index e980ce9ad..884643531 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -425,6 +425,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -517,6 +523,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -1155,6 +1164,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -1245,6 +1260,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2049,6 +2067,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2139,6 +2163,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -2775,6 +2802,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -2865,6 +2898,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/ide-targeted/parent-overrides.json b/schemas/latest/ide-targeted/parent-overrides.json index 396627c40..337cf9ce8 100644 --- a/schemas/latest/ide-targeted/parent-overrides.json +++ b/schemas/latest/ide-targeted/parent-overrides.json @@ -396,6 +396,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -486,6 +492,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", @@ -1122,6 +1131,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -1212,6 +1227,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/ide-targeted/plugin-overrides.json b/schemas/latest/ide-targeted/plugin-overrides.json index 555e35b1f..cdf3c760b 100644 --- a/schemas/latest/ide-targeted/plugin-overrides.json +++ b/schemas/latest/ide-targeted/plugin-overrides.json @@ -391,6 +391,12 @@ }, "markdownDescription": "The command to run in the dockerimage component instead of the default one provided in the image.\n\nDefaults to an empty array, meaning use whatever is defined in the image." }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean", @@ -481,6 +487,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean", diff --git a/schemas/latest/parent-overrides.json b/schemas/latest/parent-overrides.json index 856b7a046..d921b5a94 100644 --- a/schemas/latest/parent-overrides.json +++ b/schemas/latest/parent-overrides.json @@ -354,6 +354,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -437,6 +443,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" @@ -1008,6 +1017,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -1091,6 +1106,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean" diff --git a/schemas/latest/plugin-overrides.json b/schemas/latest/plugin-overrides.json index 709d848f7..96f16a39a 100644 --- a/schemas/latest/plugin-overrides.json +++ b/schemas/latest/plugin-overrides.json @@ -349,6 +349,12 @@ "type": "string" } }, + "cpuLimit": { + "type": "string" + }, + "cpuRequest": { + "type": "string" + }, "dedicatedPod": { "description": "Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod.\n\nDefault value is `false`", "type": "boolean" @@ -432,6 +438,9 @@ "memoryLimit": { "type": "string" }, + "memoryRequest": { + "type": "string" + }, "mountSources": { "description": "Toggles whether or not the project source code should be mounted in the component.\n\nDefaults to true for all component types except plugins and components that set `dedicatedPod` to true.", "type": "boolean"