Skip to content

Commit e8aa65f

Browse files
committed
State in the docs that the value of default Node labels are not reliable.
1 parent 5729a24 commit e8aa65f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/concepts/configuration/assign-pod-node.md

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ with a standard set of labels. As of Kubernetes v1.4 these labels are
7777
* `beta.kubernetes.io/os`
7878
* `beta.kubernetes.io/arch`
7979

80+
**Note:** The value of these labels are cloud provider specific and are not guaranteed to be reliable.
81+
For example, the value of `kubernetes.io/hostname` may be the same as the Node name in some environments
82+
and a different value in other environments.
83+
{: .note}
84+
8085
## Affinity and anti-affinity
8186

8287
`nodeSelector` provides a very simple way to constrain pods to nodes with particular labels. The affinity/anti-affinity

0 commit comments

Comments
 (0)