mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Update user guide and scheduler documentation to describe node affinity.
Register image priority locality function, which the original PR that introduced it forgot to do. Change zone and region labels to beta.
This commit is contained in:
@@ -970,7 +970,7 @@ func (kl *Kubelet) initialNodeStatus() (*api.Node, error) {
|
||||
node := &api.Node{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: kl.nodeName,
|
||||
Labels: map[string]string{"kubernetes.io/hostname": kl.hostname},
|
||||
Labels: map[string]string{unversioned.LabelHostname: kl.hostname},
|
||||
},
|
||||
Spec: api.NodeSpec{
|
||||
Unschedulable: !kl.registerSchedulable,
|
||||
|
||||
Reference in New Issue
Block a user