Fix `matchLabelKeys` example yaml syntax
It should be `spec.template.spec.affinity` instead of `spec.template.affinity`. ``` $ explain deploy.spec.template.spec.affinity GROUP: apps KIND: Deployment VERSION: v1 FIELD: affinity <Affinity> ... ``` ``` $ k explain deploy.spec.template.affinity GROUP: apps KIND: Deployment VERSION: v1 error: field "affinity" does not exist ```pull/45111/head
parent
a75dd33c21
commit
3ca2b443ac
|
@ -391,6 +391,7 @@ metadata:
|
|||
...
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
affinity:
|
||||
podAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
Loading…
Reference in New Issue