You've already forked prometheus-postgres-exporter
							
							doc(values): add affinity example
This commit is contained in:
		
							
								
								
									
										16
									
								
								values.yaml
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								values.yaml
									
									
									
									
									
								
							| @@ -93,6 +93,22 @@ deployment: | |||||||
|  |  | ||||||
|   ## @param deployment.affinity Affinity for the postgres-exporter deployment. |   ## @param deployment.affinity Affinity for the postgres-exporter deployment. | ||||||
|   affinity: {} |   affinity: {} | ||||||
|  |     # nodeAffinity: | ||||||
|  |     #   requiredDuringSchedulingIgnoredDuringExecution: | ||||||
|  |     #     nodeSelectorTerms: | ||||||
|  |     #     - matchExpressions: | ||||||
|  |     #       - key: kubernetes.io/os | ||||||
|  |     #         operator: In | ||||||
|  |     #         values: | ||||||
|  |     #         - linux | ||||||
|  |     #   preferredDuringSchedulingIgnoredDuringExecution: | ||||||
|  |     #   - weight: 20 | ||||||
|  |     #     preference: | ||||||
|  |     #       matchExpressions: | ||||||
|  |     #       - key: kubernetes.io/arch | ||||||
|  |     #         operator: In | ||||||
|  |     #         values: | ||||||
|  |     #         - amd64 | ||||||
|  |  | ||||||
|   ## @param deployment.initContainers List of additional init containers. |   ## @param deployment.initContainers List of additional init containers. | ||||||
|   initContainers: [] |   initContainers: [] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user