docs: add an annotation example in Additional Tweaks (#600)

This commit is contained in:
Pierre DEMAGNY
2021-06-04 01:38:56 +02:00
committed by GitHub
parent cb60c1ec3b
commit a72f190ef6

View File

@@ -722,10 +722,12 @@ metadata:
spec:
replicas: 2
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
nodeSelector:
node-role.kubernetes.io/test: ""
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/test