mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
fix(deployment): use replicas=1 for otel-collector and allow it to scale when needed (#7929)
This commit is contained in:
parent
72cf5b8659
commit
aa51ecd0de
2 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue