Add nodeSelector, tolerations, affinity to beat
This commit is contained in:
		
							parent
							
								
									5419200024
								
							
						
					
					
						commit
						7973dd906d
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
					@ -60,5 +60,17 @@ spec:
 | 
				
			||||||
                name: {{ include "django.fullname" . }}
 | 
					                name: {{ include "django.fullname" . }}
 | 
				
			||||||
            - configMapRef:
 | 
					            - configMapRef:
 | 
				
			||||||
                name: {{ include "django.fullname" . }}
 | 
					                name: {{ include "django.fullname" . }}
 | 
				
			||||||
 | 
					        {{- with .Values.beat.nodeSelector }}
 | 
				
			||||||
 | 
					          nodeSelector:
 | 
				
			||||||
 | 
					            {{- toYaml . | nindent 8 }}
 | 
				
			||||||
 | 
					          {{- end }}
 | 
				
			||||||
 | 
					        {{- with .Values.beat.affinity }}
 | 
				
			||||||
 | 
					          affinity:
 | 
				
			||||||
 | 
					            {{- toYaml . | nindent 8 }}
 | 
				
			||||||
 | 
					        {{- end }}
 | 
				
			||||||
 | 
					        {{- with .Values.beat.tolerations }}
 | 
				
			||||||
 | 
					          tolerations:
 | 
				
			||||||
 | 
					            {{- toYaml . | nindent 8 }}
 | 
				
			||||||
 | 
					        {{- end }}
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -103,6 +103,9 @@ worker:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
beat:
 | 
					beat:
 | 
				
			||||||
  enabled: true
 | 
					  enabled: true
 | 
				
			||||||
 | 
					  nodeSelector: {}
 | 
				
			||||||
 | 
					  tolerations: []
 | 
				
			||||||
 | 
					  affinity: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
serviceAccount:
 | 
					serviceAccount:
 | 
				
			||||||
  # Specifies whether a service account should be created
 | 
					  # Specifies whether a service account should be created
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue