Commit e3579ccb authored by Matt Bruzek's avatar Matt Bruzek

Changing "Minion" to "Node" on node registration

parent 5b216d8a
......@@ -204,8 +204,9 @@ def register_machine(apiserver, retry=False):
mem = info.strip().split(':')[1].strip().split()[0]
cpus = os.sysconf('SC_NPROCESSORS_ONLN')
# https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/admin/node.md
registration_request = Registrator()
registration_request.data['Kind'] = 'Minion'
registration_request.data['kind'] = 'Node'
registration_request.data['id'] = private_address
registration_request.data['name'] = private_address
registration_request.data['metadata']['name'] = private_address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment