Make beat resources configurable
This commit is contained in:
		
							parent
							
								
									383f70c898
								
							
						
					
					
						commit
						44ed6ba81f
					
				
					 3 changed files with 11 additions and 9 deletions
				
			
		| 
						 | 
					@ -14,7 +14,7 @@ type: application
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This is the chart version. This version number should be incremented each time you make changes
 | 
					# This is the chart version. This version number should be incremented each time you make changes
 | 
				
			||||||
# to the chart and its templates, including the app version.
 | 
					# to the chart and its templates, including the app version.
 | 
				
			||||||
version: 0.2.1
 | 
					version: 0.2.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This is the version number of the application being deployed. This version number should be
 | 
					# This is the version number of the application being deployed. This version number should be
 | 
				
			||||||
# incremented each time you make changes to the application.
 | 
					# incremented each time you make changes to the application.
 | 
				
			||||||
| 
						 | 
					@ -22,10 +22,10 @@ appVersion: 1.0.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dependencies:
 | 
					dependencies:
 | 
				
			||||||
  - name: postgresql
 | 
					  - name: postgresql
 | 
				
			||||||
    version: ~11.7.2
 | 
					    version: ~11.8.1
 | 
				
			||||||
    repository: https://charts.bitnami.com/bitnami
 | 
					    repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
    condition: postgresql.enabled
 | 
					    condition: postgresql.enabled
 | 
				
			||||||
  - name: redis
 | 
					  - name: redis
 | 
				
			||||||
    version: ~17.0.11
 | 
					    version: ~17.1.2
 | 
				
			||||||
    repository: https://charts.bitnami.com/bitnami
 | 
					    repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
    condition: redis.enabled
 | 
					    condition: redis.enabled
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,12 +39,7 @@ spec:
 | 
				
			||||||
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
 | 
					          image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
 | 
				
			||||||
          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
					          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
				
			||||||
          resources:
 | 
					          resources:
 | 
				
			||||||
            limits:
 | 
					            {{- toYaml .Values.web.resources | nindent 12 }}
 | 
				
			||||||
              cpu: 50m
 | 
					 | 
				
			||||||
              memory: 96Mi
 | 
					 | 
				
			||||||
            requests:
 | 
					 | 
				
			||||||
              cpu: 1m
 | 
					 | 
				
			||||||
              memory: 32Mi
 | 
					 | 
				
			||||||
          env:
 | 
					          env:
 | 
				
			||||||
            - name: SERVER_ROLE
 | 
					            - name: SERVER_ROLE
 | 
				
			||||||
              value: "beat"
 | 
					              value: "beat"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -103,6 +103,13 @@ worker:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
beat:
 | 
					beat:
 | 
				
			||||||
  enabled: true
 | 
					  enabled: true
 | 
				
			||||||
 | 
					  resources:
 | 
				
			||||||
 | 
					    limits:
 | 
				
			||||||
 | 
					      cpu: 100m
 | 
				
			||||||
 | 
					      memory: 120Mi
 | 
				
			||||||
 | 
					    requests:
 | 
				
			||||||
 | 
					      cpu: 1m
 | 
				
			||||||
 | 
					      memory: 90Mi
 | 
				
			||||||
  nodeSelector: {}
 | 
					  nodeSelector: {}
 | 
				
			||||||
  tolerations: []
 | 
					  tolerations: []
 | 
				
			||||||
  affinity: {}
 | 
					  affinity: {}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue