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.
  • Loading branch information
bsalamat committed Mar 20, 2018
1 parent 5729a24 commit e8aa65f
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 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.
{: .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 e8aa65f

Please sign in to comment.