From 134cf819a4b0362ca4302a8e329109d60bd73e7c Mon Sep 17 00:00:00 2001 From: "Bobby (Babak) Salamat" Date: Tue, 20 Mar 2018 18:24:04 -0700 Subject: [PATCH] State in the docs that the value of default Node labels are not reliable. (#7794) --- docs/concepts/configuration/assign-pod-node.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/concepts/configuration/assign-pod-node.md b/docs/concepts/configuration/assign-pod-node.md index 7ef1b40ba054f..0b76d077928f0 100644 --- a/docs/concepts/configuration/assign-pod-node.md +++ b/docs/concepts/configuration/assign-pod-node.md @@ -77,6 +77,11 @@ with a standard set of labels. As of Kubernetes v1.4 these labels are * `beta.kubernetes.io/os` * `beta.kubernetes.io/arch` +**Note:** The value of these labels is cloud provider specific and is not guaranteed to be reliable. +For example, the value of `kubernetes.io/hostname` may be the same as the Node name in some environments +and a different value in other environments. +{: .note} + ## Affinity and anti-affinity `nodeSelector` provides a very simple way to constrain pods to nodes with particular labels. The affinity/anti-affinity