docs: add an annotation example in Additional Tweaks (#600)
This commit is contained in:
		
							parent
							
								
									cb60c1ec3b
								
							
						
					
					
						commit
						a72f190ef6
					
				| 
						 | 
					@ -722,10 +722,12 @@ metadata:
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  replicas: 2
 | 
					  replicas: 2
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
 | 
					    metadata:
 | 
				
			||||||
 | 
					      annotations:
 | 
				
			||||||
 | 
					        cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
 | 
				
			||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      nodeSelector:
 | 
					      nodeSelector:
 | 
				
			||||||
        node-role.kubernetes.io/test: ""
 | 
					        node-role.kubernetes.io/test: ""
 | 
				
			||||||
 | 
					 | 
				
			||||||
      tolerations:
 | 
					      tolerations:
 | 
				
			||||||
      - effect: NoSchedule
 | 
					      - effect: NoSchedule
 | 
				
			||||||
        key: node-role.kubernetes.io/test
 | 
					        key: node-role.kubernetes.io/test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue