You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/reference/labels-annotations-taints/_index.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,10 +116,16 @@ The Kubelet populates this with `runtime.GOARCH` as defined by Go. This can be h
116
116
117
117
Example: `kubernetes.io/os: "linux"`
118
118
119
-
Used on: Node
119
+
Used on: Node, Pod
120
120
121
121
The Kubelet populates this with `runtime.GOOS` as defined by Go. This can be handy if you are mixing operating systems in your cluster (for example: mixing Linux and Windows nodes).
122
122
123
+
When the `kubernetes.io/os` label value for a Pod does not match the label value on a Node,
124
+
the kubelet on the node will not admit the Pod. However, this is not taken into account by
125
+
the kube-scheduler. Alternatively, the kubelet refuses to run a Pod where you have specified a Pod OS, if
126
+
this isn't the same as the operating system for the node where that kubelet is running. Just
127
+
look for [Pods OS](/docs/concepts/workloads/pods/#pod-os) for more details.
0 commit comments