From 6ec9f0a7667ac988833a5feedb0119cd6a247c2a Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Thu, 27 Jun 2019 17:49:58 +0200 Subject: [PATCH] improvement(k8s): bump default limits and sizes for cluster builder --- garden-service/src/plugins/kubernetes/config.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/garden-service/src/plugins/kubernetes/config.ts b/garden-service/src/plugins/kubernetes/config.ts index 259b520a95..9424b27cd1 100644 --- a/garden-service/src/plugins/kubernetes/config.ts +++ b/garden-service/src/plugins/kubernetes/config.ts @@ -81,11 +81,12 @@ export interface KubernetesConfig extends KubernetesBaseConfig { export type KubernetesProvider = Provider export type KubernetesPluginContext = PluginContext +// We default to fairly low requests but high limits. export const defaultResources: KubernetesResources = { builder: { limits: { - cpu: 2000, - memory: 4096, + cpu: 4000, + memory: 8192, }, requests: { cpu: 200, @@ -104,8 +105,8 @@ export const defaultResources: KubernetesResources = { }, sync: { limits: { - cpu: 200, - memory: 256, + cpu: 500, + memory: 512, }, requests: { cpu: 100, @@ -116,11 +117,11 @@ export const defaultResources: KubernetesResources = { export const defaultStorage: KubernetesStorage = { builder: { - size: 10 * 1024, + size: 20 * 1024, storageClass: null, }, registry: { - size: 10 * 1024, + size: 20 * 1024, storageClass: null, }, sync: {