defaultTolerations example fix

defaultTolerations has to be unmarshall-able as an array
This commit is contained in:
Daniel Kucera
2020-07-14 13:01:21 +02:00
committed by GitHub
parent dbc406c97d
commit bf3d54dedd
@@ -706,7 +706,7 @@ kind: Namespace
metadata: metadata:
name: apps-that-need-nodes-exclusively name: apps-that-need-nodes-exclusively
annotations: annotations:
scheduler.alpha.kubernetes.io/defaultTolerations: '{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}' scheduler.alpha.kubernetes.io/defaultTolerations: '[{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}]'
scheduler.alpha.kubernetes.io/tolerationsWhitelist: '{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}' scheduler.alpha.kubernetes.io/tolerationsWhitelist: '{"operator": "Exists", "effect": "NoSchedule", "key": "dedicated-node"}'
``` ```