Skip to content

Commit

Permalink
improvement(k8s): bump default limits and sizes for cluster builder
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Jun 27, 2019
1 parent ba5b975 commit 6ec9f0a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions garden-service/src/plugins/kubernetes/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ export interface KubernetesConfig extends KubernetesBaseConfig {
export type KubernetesProvider = Provider<KubernetesConfig>
export type KubernetesPluginContext = PluginContext<KubernetesConfig>

// 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,
Expand All @@ -104,8 +105,8 @@ export const defaultResources: KubernetesResources = {
},
sync: {
limits: {
cpu: 200,
memory: 256,
cpu: 500,
memory: 512,
},
requests: {
cpu: 100,
Expand All @@ -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: {
Expand Down

0 comments on commit 6ec9f0a

Please sign in to comment.