Add celery liveness check
This commit is contained in:
		
							parent
							
								
									f384c6c498
								
							
						
					
					
						commit
						fb65f5f275
					
				
					 7 changed files with 12 additions and 5 deletions
				
			
		| 
						 | 
					@ -1,9 +1,9 @@
 | 
				
			||||||
dependencies:
 | 
					dependencies:
 | 
				
			||||||
- name: postgresql
 | 
					- name: postgresql
 | 
				
			||||||
  repository: https://charts.bitnami.com/bitnami
 | 
					  repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
  version: 12.2.7
 | 
					  version: 12.2.8
 | 
				
			||||||
- name: redis
 | 
					- name: redis
 | 
				
			||||||
  repository: https://charts.bitnami.com/bitnami
 | 
					  repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
  version: 17.9.4
 | 
					  version: 17.9.5
 | 
				
			||||||
digest: sha256:e96cf748e25b6a58cea82e122a3a2332b6be7e2adedf8bb3d6f92eb058e79618
 | 
					digest: sha256:ab9cf404fbc913c196c6ec8b405f689cb7ea79fb25a31e1a1322141aecb255d1
 | 
				
			||||||
generated: "2023-04-13T12:49:10.964256347-04:00"
 | 
					generated: "2023-04-20T20:16:14.663426731-04:00"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								charts/postgresql-12.2.8.tgz
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								charts/postgresql-12.2.8.tgz
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								charts/redis-17.9.5.tgz
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								charts/redis-17.9.5.tgz
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
Subproject commit 01748f59da6a791924af7ffab6422f4192bb5b41
 | 
					Subproject commit ab1ff087d21e6f523c035b2061f06b490d60bf1d
 | 
				
			||||||
| 
						 | 
					@ -91,6 +91,13 @@ worker:
 | 
				
			||||||
    maxReplicas: 10
 | 
					    maxReplicas: 10
 | 
				
			||||||
    targetCPU: 100
 | 
					    targetCPU: 100
 | 
				
			||||||
    # targetMemory: 80
 | 
					    # targetMemory: 80
 | 
				
			||||||
 | 
					  livenessProbe:
 | 
				
			||||||
 | 
					    enabled: true
 | 
				
			||||||
 | 
					    initialDelaySeconds: 30
 | 
				
			||||||
 | 
					    periodSeconds: 300
 | 
				
			||||||
 | 
					    timeoutSeconds: 30
 | 
				
			||||||
 | 
					    command:
 | 
				
			||||||
 | 
					      - "celery -A glitchtip inspect ping -d celery@$HOSTNAME"
 | 
				
			||||||
  resources:
 | 
					  resources:
 | 
				
			||||||
    limits:
 | 
					    limits:
 | 
				
			||||||
      cpu: 900m
 | 
					      cpu: 900m
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue