Update values.yaml with better defaults
This commit is contained in:
		
							parent
							
								
									8fbe8a5d02
								
							
						
					
					
						commit
						10628c2085
					
				
					 1 changed files with 28 additions and 19 deletions
				
			
		
							
								
								
									
										47
									
								
								values.yaml
									
										
									
									
									
								
							
							
						
						
									
										47
									
								
								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: {}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue