From 10628c208562103ee1611601230c921ef3073f4d Mon Sep 17 00:00:00 2001 From: David Burke Date: Sun, 14 Feb 2021 17:14:15 +0000 Subject: [PATCH] Update values.yaml with better defaults --- values.yaml | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) 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: {}