Closed errordeveloper closed 7 years ago
I found this confusing also. I think the other annotation was supposed to be a preferredDuringSchedulingIgnoredDuringExecution
object in the affinity annotation. That would make the quoted text correct, and would also give the document an example about the "preferred" affinity type, which currently has no example at all.
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: another-node-label-key
operator: In
values:
- another-node-label-value
In addition, among nodes that meet that criteria, nodes with a label whose key is
another-node-label-key
and whose value isanother-node-label-value
should be preferred.
In the latest doc, it's more clear, as @jimmycuadra said.
As this issue is confirmed, we might close it :)
/cc @thockin
We currently have this:
The line with
another-annotation-key: another-annotation-value
is confusing and seems to be a bit of red herring.However, the text below this example goes:
Was the intention to have another selector term featuring that key/value pair?