From 4bcfa2ff49cc92c2e43a3665e2027d1d31f429ab Mon Sep 17 00:00:00 2001 From: "Bobby (Babak) Salamat" Date: Tue, 20 Mar 2018 13:09:52 -0700 Subject: [PATCH] State in the docs that the value of default Node labels are not reliable. --- docs/concepts/configuration/assign-pod-node.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/concepts/configuration/assign-pod-node.md b/docs/concepts/configuration/assign-pod-node.md index 7ef1b40ba054f..30a0c62cf7155 100644 --- a/docs/concepts/configuration/assign-pod-node.md +++ b/docs/concepts/configuration/assign-pod-node.md @@ -77,6 +77,10 @@ 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 are cloud provider specific and are 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. + ## Affinity and anti-affinity `nodeSelector` provides a very simple way to constrain pods to nodes with particular labels. The affinity/anti-affinity