Skip to content

Commit 4bcfa2f

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ 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+
8084
## Affinity and anti-affinity
8185

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

0 commit comments

Comments
 (0)