Add labels
This commit is contained in:
		
							parent
							
								
									791ad96849
								
							
						
					
					
						commit
						b46d35c8a5
					
				@ -9,3 +9,13 @@ kubelet-arg: "--node-ip=0.0.0.0"
 | 
				
			|||||||
{% else %}
 | 
					{% else %}
 | 
				
			||||||
node-ip: {{ nodeip_ipv4 }}
 | 
					node-ip: {{ nodeip_ipv4 }}
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Label
 | 
				
			||||||
 | 
					# Region & DC
 | 
				
			||||||
 | 
					node-label:
 | 
				
			||||||
 | 
					{% if region is defined %}
 | 
				
			||||||
 | 
					  - topology.kubernetes.io/region={{ region }}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					{% if zone is defined %}
 | 
				
			||||||
 | 
					  - topology.kubernetes.io/zone={{ zone }}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
				
			|||||||
@ -38,3 +38,14 @@ flannel-backend: none
 | 
				
			|||||||
{% if kubernetes.ingress_controller != "traefik-ingress" %}
 | 
					{% if kubernetes.ingress_controller != "traefik-ingress" %}
 | 
				
			||||||
disable: traefik
 | 
					disable: traefik
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Label
 | 
				
			||||||
 | 
					# Region & DC
 | 
				
			||||||
 | 
					node-label:
 | 
				
			||||||
 | 
					{% if region is defined %}
 | 
				
			||||||
 | 
					  - topology.kubernetes.io/region={{ region }}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					{% if zone is defined %}
 | 
				
			||||||
 | 
					  - topology.kubernetes.io/zone={{ zone }}
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user