diff --git a/deployment/services/environment.ts b/deployment/services/environment.ts index 5b94a878b..7ee284c93 100644 --- a/deployment/services/environment.ts +++ b/deployment/services/environment.ts @@ -83,6 +83,7 @@ export function prepareEnvironment(input: { cpuLimit: isProduction || isStaging ? '1000m' : '100m', memoryLimit: isProduction || isStaging ? '1000Mi' : '512Mi', maxReplicas: isProduction || isStaging ? 3 : 1, + replicas: 1, }, }, }; diff --git a/deployment/services/otel-collector.ts b/deployment/services/otel-collector.ts index dffebf7eb..9eec965cd 100644 --- a/deployment/services/otel-collector.ts +++ b/deployment/services/otel-collector.ts @@ -36,7 +36,7 @@ export function deployOTELCollector(args: { livenessProbe: '/', startupProbe: '/', exposesMetrics: true, - replicas: args.environment.podsConfig.tracingCollector.maxReplicas, + replicas: args.environment.podsConfig.tracingCollector.replicas, pdb: true, availabilityOnEveryNode: true, port: 4318,