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: 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