File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,9 @@ metadata:
61
61
kubernetes.io/hostname: ip-10-0-131-14
62
62
beta.kubernetes.io/arch: amd64
63
63
region: east <1>
64
+ type: user-node
64
65
----
65
- <1> Label to match the pod node selector.
66
+ <1> Labels to match the pod node selector.
66
67
endif::openshift-origin[]
67
68
ifdef::openshift-origin[]
68
69
.Sample `Node` object with a label
@@ -87,8 +88,9 @@ metadata:
87
88
kubernetes.io/hostname: ip-10-0-131-14
88
89
beta.kubernetes.io/arch: amd64
89
90
region: east <1>
91
+ type: user-node
90
92
----
91
- <1> Label to match the pod node selector.
93
+ <1> Labels to match the pod node selector.
92
94
endif::openshift-origin[]
93
95
+
94
96
A pod has the `type: user-node,region: east` node selector:
@@ -106,7 +108,7 @@ spec:
106
108
region: east
107
109
type: user-node
108
110
----
109
- <1> Node selectors to match the node label.
111
+ <1> Node selectors to match the node label. The node must have a label for each node selector.
110
112
+
111
113
When you create the pod using the example pod spec, it can be scheduled on the example node.
112
114
You can’t perform that action at this time.
0 commit comments