Skip to content

Commit

Permalink
tweak deployed resources
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Feb 12, 2024
1 parent ae42bbb commit 3b294c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions api/.pipeline/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ const phases = {
tz: config.timezone.api,
sso: config.sso.dev,
logLevel: (isStaticDeployment && 'info') || 'debug',
nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes)
nodeOptions: '--max_old_space_size=2250', // 75% of memoryLimit (bytes)
cpuRequest: '50m',
cpuLimit: '500m',
cpuLimit: '600m',
memoryRequest: '100Mi',
memoryLimit: '2Gi',
replicas: '1',
memoryLimit: '3Gi',
replicas: (isStaticDeployment && '1') || '1',
replicasMax: (isStaticDeployment && '2') || '1'
},
test: {
Expand All @@ -117,13 +117,13 @@ const phases = {
tz: config.timezone.api,
sso: config.sso.test,
logLevel: 'info',
nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes)
nodeOptions: '--max_old_space_size=2250', // 75% of memoryLimit (bytes)
cpuRequest: '50m',
cpuLimit: '1000m',
memoryRequest: '100Mi',
memoryLimit: '2Gi',
memoryLimit: '3Gi',
replicas: '2',
replicasMax: '3'
replicasMax: '4'
},
prod: {
namespace: 'a0ec71-prod',
Expand All @@ -146,13 +146,13 @@ const phases = {
tz: config.timezone.api,
sso: config.sso.prod,
logLevel: 'warn',
nodeOptions: '--max_old_space_size=1500', // 75% of memoryLimit (bytes)
nodeOptions: '--max_old_space_size=2250', // 75% of memoryLimit (bytes)
cpuRequest: '50m',
cpuLimit: '1000m',
memoryRequest: '100Mi',
memoryLimit: '2Gi',
memoryLimit: '3Gi',
replicas: '2',
replicasMax: '3'
replicasMax: '4'
}
};

Expand Down

0 comments on commit 3b294c5

Please sign in to comment.