diff --git a/values.yaml b/values.yaml index ec22247..43733a2 100644 --- a/values.yaml +++ b/values.yaml @@ -22,27 +22,37 @@ environmentVariables: GLITCHTIP_DOMAIN: https://example.com web: - replicaCount: 1 + replicaCount: 2 autoscaling: enabled: false minReplicas: 1 - maxReplicas: 100 + maxReplicas: 10 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 - # budget: - # minAvailable: 1 + budget: + minAvailable: 1 resources: - {} - # limits: - # cpu: 100m - # memory: 256Mi - # requests: - # cpu: 50m - # memory: 128Mi + limits: + cpu: 1000m + memory: 512Mi + requests: + cpu: 100m + memory: 128Mi nodeSelector: {} tolerations: [] - affinity: {} + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchExpressions: + - key: app.kubernetes.io/instance + operator: In + values: + - glitchtip-prod-web + topologyKey: kubernetes.io/hostname livenessProbe: failureThreshold: 5 initialDelaySeconds: 5 @@ -78,13 +88,12 @@ worker: targetCPUUtilizationPercentage: 90 # targetMemoryUtilizationPercentage: 80 resources: - {} - # limits: - # cpu: 500m - # memory: 256Mi - # requests: - # cpu: 100m - # memory: 128Mi + limits: + cpu: 900m + memory: 768Mi + requests: + cpu: 100m + memory: 128Mi nodeSelector: {} tolerations: [] affinity: {}