Project

General

Profile

Actions

Task #5575

closed

Bug #5502: [Node Manager] Add local SSD to compute nodes on GCP

Teach Node Manager to specify a full disk list on node creation

Added by Brett Smith about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Target version:

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

Also available in: Atom PDF