Actions
Task #5575
closedBug #5502: [Node Manager] Add local SSD to compute nodes on GCP
Teach Node Manager to specify a full disk list on node creation
Description
Disk list should look roughly like:
[{'autoDelete': True, 'boot': True, # image.extra['selfLink'] 'initializeParams': {'sourceImage': u'https://www.googleapis.com/compute/v1/projects/curoverse-production/global/images/ourImageName'}, 'type': 'PERSISTENT'}, {'autoDelete': True, # This is an arbitrary name we choose. 'deviceName': 'data-ssd', # disktype.extra['selfLink'] 'initializeParams': {'diskType': u'https://www.googleapis.com/compute/v1/projects/curoverse-production/zones/us-central1-a/diskTypes/local-ssd'}, 'type': 'SCRATCH'}]
Add this as ex_disks_gce_struct
to self.create_kwargs
.
Actions