mirror of
				https://github.com/carlosedp/cluster-monitoring.git
				synced 2025-10-26 10:23:04 +01:00 
			
		
		
		
	Tag arm_exporter to arm64 only nodes
This commit is contained in:
		
							parent
							
								
									645ac5333f
								
							
						
					
					
						commit
						cb0c14feed
					
				@ -36,7 +36,7 @@ local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') +
 | 
				
			|||||||
      daemonset.mixin.metadata.withLabels(podLabels) +
 | 
					      daemonset.mixin.metadata.withLabels(podLabels) +
 | 
				
			||||||
      daemonset.mixin.spec.selector.withMatchLabels(podLabels) +
 | 
					      daemonset.mixin.spec.selector.withMatchLabels(podLabels) +
 | 
				
			||||||
      daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
 | 
					      daemonset.mixin.spec.template.metadata.withLabels(podLabels) +
 | 
				
			||||||
      daemonset.mixin.spec.template.spec.withNodeSelector({ 'beta.kubernetes.io/os': 'linux' }) +
 | 
					      daemonset.mixin.spec.template.spec.withNodeSelector({ 'beta.kubernetes.io/arch': 'arm64' }) +
 | 
				
			||||||
      daemonset.mixin.spec.template.spec.withContainers(c),
 | 
					      daemonset.mixin.spec.template.spec.withContainers(c),
 | 
				
			||||||
    serviceMonitor:
 | 
					    serviceMonitor:
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
 | 
				
			|||||||
@ -41,4 +41,4 @@ spec:
 | 
				
			|||||||
            cpu: 10m
 | 
					            cpu: 10m
 | 
				
			||||||
            memory: 20Mi
 | 
					            memory: 20Mi
 | 
				
			||||||
      nodeSelector:
 | 
					      nodeSelector:
 | 
				
			||||||
        beta.kubernetes.io/os: linux
 | 
					        beta.kubernetes.io/arch: arm64
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user