Add optional celery liveness check
This commit is contained in:
		
							parent
							
								
									01748f59da
								
							
						
					
					
						commit
						ab1ff087d2
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -41,6 +41,14 @@ spec:
 | 
			
		|||
            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
			
		||||
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
 | 
			
		||||
          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
			
		||||
          {{- if .Values.worker.livenessProbe.enabled }}
 | 
			
		||||
          livenessProbe:
 | 
			
		||||
            initialDelaySeconds: {{ .Values.worker.livenessProbe.initialDelaySeconds }}
 | 
			
		||||
            periodSeconds: {{ .Values.worker.livenessProbe.periodSeconds }}
 | 
			
		||||
            timeoutSeconds: {{ .Values.worker.livenessProbe.timeoutSeconds }}
 | 
			
		||||
            exec:
 | 
			
		||||
              command: {{ .Values.worker.livenessProbe.command }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
          resources:
 | 
			
		||||
            {{- toYaml .Values.worker.resources | nindent 12 }}
 | 
			
		||||
          env:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue