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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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