feat: Increase default memory limit for plug-in registry (#1459)

When OpenVSX will be included in the plug-in registry
It'll require more memory to start.
With 256Mi, container is killed with OOM error

Change-Id: I2ae148f858550f92d64c41d6fa81af826624b377
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
pull/1460/head
Florent BENOIT 2022-07-28 08:31:45 +02:00 committed by GitHub
parent 452b0789ff
commit 43f1d3f732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 11 deletions

View File

@ -251,7 +251,7 @@ type CheClusterSpecServer struct {
// Default value is `Always` for `nightly`, `next` or `latest` images, and `IfNotPresent` in other cases.
// +optional
PluginRegistryPullPolicy corev1.PullPolicy `json:"pluginRegistryPullPolicy,omitempty"`
// Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
// Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
// +optional
PluginRegistryMemoryLimit string `json:"pluginRegistryMemoryLimit,omitempty"`
// Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -921,7 +921,7 @@ spec:
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry
deployment. Defaults to 256Mi.
deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin

View File

@ -918,7 +918,7 @@ spec:
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry
deployment. Defaults to 256Mi.
deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin

View File

@ -889,7 +889,7 @@ spec:
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry
deployment. Defaults to 256Mi.
deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry

View File

@ -566,7 +566,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -561,7 +561,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -566,7 +566,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -561,7 +561,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -561,7 +561,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -559,7 +559,7 @@ spec:
type: string
type: object
pluginRegistryMemoryLimit:
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 256Mi.
description: Overrides the memory limit used in the plugin registry deployment. Defaults to 512Mi.
type: string
pluginRegistryMemoryRequest:
description: Overrides the memory request used in the plugin registry deployment. Defaults to 16Mi.

View File

@ -33,7 +33,7 @@ const (
DefaultDashboardCpuRequest = "100m"
// PluginRegistry
DefaultPluginRegistryMemoryLimit = "256Mi"
DefaultPluginRegistryMemoryLimit = "512Mi"
DefaultPluginRegistryMemoryRequest = "32Mi"
DefaultPluginRegistryCpuLimit = "500m"
DefaultPluginRegistryCpuRequest = "100m"