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
 | 
					  GLITCHTIP_DOMAIN: https://example.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
web:
 | 
					web:
 | 
				
			||||||
  replicaCount: 1
 | 
					  replicaCount: 2
 | 
				
			||||||
  autoscaling:
 | 
					  autoscaling:
 | 
				
			||||||
    enabled: false
 | 
					    enabled: false
 | 
				
			||||||
    minReplicas: 1
 | 
					    minReplicas: 1
 | 
				
			||||||
    maxReplicas: 100
 | 
					    maxReplicas: 10
 | 
				
			||||||
    targetCPUUtilizationPercentage: 80
 | 
					    targetCPUUtilizationPercentage: 80
 | 
				
			||||||
    # targetMemoryUtilizationPercentage: 80
 | 
					    # targetMemoryUtilizationPercentage: 80
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # budget:
 | 
					  budget:
 | 
				
			||||||
  #   minAvailable: 1
 | 
					    minAvailable: 1
 | 
				
			||||||
  resources:
 | 
					  resources:
 | 
				
			||||||
    {}
 | 
					    limits:
 | 
				
			||||||
    # limits:
 | 
					      cpu: 1000m
 | 
				
			||||||
    #   cpu: 100m
 | 
					      memory: 512Mi
 | 
				
			||||||
    #   memory: 256Mi
 | 
					    requests:
 | 
				
			||||||
    # requests:
 | 
					      cpu: 100m
 | 
				
			||||||
    #   cpu: 50m
 | 
					      memory: 128Mi
 | 
				
			||||||
    #   memory: 128Mi
 | 
					 | 
				
			||||||
  nodeSelector: {}
 | 
					  nodeSelector: {}
 | 
				
			||||||
  tolerations: []
 | 
					  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:
 | 
					  livenessProbe:
 | 
				
			||||||
    failureThreshold: 5
 | 
					    failureThreshold: 5
 | 
				
			||||||
    initialDelaySeconds: 5
 | 
					    initialDelaySeconds: 5
 | 
				
			||||||
| 
						 | 
					@ -78,13 +88,12 @@ worker:
 | 
				
			||||||
    targetCPUUtilizationPercentage: 90
 | 
					    targetCPUUtilizationPercentage: 90
 | 
				
			||||||
    # targetMemoryUtilizationPercentage: 80
 | 
					    # targetMemoryUtilizationPercentage: 80
 | 
				
			||||||
  resources:
 | 
					  resources:
 | 
				
			||||||
    {}
 | 
					    limits:
 | 
				
			||||||
    # limits:
 | 
					      cpu: 900m
 | 
				
			||||||
    #   cpu: 500m
 | 
					      memory: 768Mi
 | 
				
			||||||
    #   memory: 256Mi
 | 
					    requests:
 | 
				
			||||||
    # requests:
 | 
					      cpu: 100m
 | 
				
			||||||
    #   cpu: 100m
 | 
					      memory: 128Mi
 | 
				
			||||||
    #   memory: 128Mi
 | 
					 | 
				
			||||||
  nodeSelector: {}
 | 
					  nodeSelector: {}
 | 
				
			||||||
  tolerations: []
 | 
					  tolerations: []
 | 
				
			||||||
  affinity: {}
 | 
					  affinity: {}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue