Skip to content

Commit

Permalink
State in the docs that the value of default Node labels are not relia…
Browse files Browse the repository at this point in the history
…ble. (#7794)
  • Loading branch information
bsalamat authored and k8s-ci-robot committed Mar 21, 2018
1 parent 5729a24 commit 134cf81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/concepts/configuration/assign-pod-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 134cf81

Please sign in to comment.