Revert "Modify nodes to register directly with the master."

This commit is contained in:
Quinton Hoole
2015-05-20 13:47:51 -07:00
parent c743011e19
commit c53786ab31
12 changed files with 875 additions and 313 deletions

View File

@@ -1222,8 +1222,6 @@ func ValidateNodeUpdate(oldNode *api.Node, node *api.Node) errs.ValidationErrorL
oldNode.ObjectMeta = node.ObjectMeta
// Allow users to update capacity
oldNode.Status.Capacity = node.Status.Capacity
// Allow the controller manager to assign a CIDR to a node.
oldNode.Spec.PodCIDR = node.Spec.PodCIDR
// Allow users to unschedule node
oldNode.Spec.Unschedulable = node.Spec.Unschedulable
// Clear status